| 1 | This builds the coreboot tree in /dev/cb-build so that's a directory that uses |
| 2 | a tmpfs. This helps to speed up the build and doesn't write the output to |
| 3 | the SSD. |
| 4 | |
| 5 | The encapsulate tool that the coreboot build runs under for security requires |
| 6 | that docker be run using the --privileged command to work correctly. |
| 7 | |
| 8 | Run with the command: |
| 9 | |
| 10 | docker run --privileged --restart=always -d -p 49151:49151 -v $host_path_to_ccache:/home/coreboot/.ccache -v $host_path_to_data_cache:/data/cache coreboot/coreboot-jenkins-node |