| 1 |
ARG SDK_VERSION |
| 2 |
|
| 3 |
FROM coreboot/coreboot-jenkins-node:${SDK_VERSION} |
| 4 |
|
| 5 |
# Test the built image |
| 6 |
RUN mkdir -p /tmp/work && \ |
| 7 |
cd /tmp/work && \ |
| 8 |
git clone https://review.coreboot.org/bios_extract.git && \ |
| 9 |
make -C bios_extract && \ |
| 10 |
git clone https://review.coreboot.org/memtest86plus.git && \ |
| 11 |
make -C memtest86plus && \ |
| 12 |
git clone https://review.coreboot.org/flashrom.git && \ |
| 13 |
CONFIG_EVERYTHING=yes make -C flashrom && \ |
| 14 |
git clone https://review.coreboot.org/em100.git && \ |
| 15 |
make -C em100 && \ |
| 16 |
git clone https://review.coreboot.org/coreboot.git && \ |
| 17 |
(cd coreboot && git submodule update --init --checkout ) && \ |
| 18 |
make -C coreboot CPUS=$(nproc) test-abuild |
| 19 |
|
| 20 |
RUN \ |
| 21 |
cd /tmp/work && \ |
| 22 |
make -C coreboot olddefconfig && \ |
| 23 |
make -C coreboot all -j && \ |
| 24 |
make -C coreboot printall && \ |
| 25 |
make -C coreboot filelist && \ |
| 26 |
make -C coreboot ctags-project && \ |
| 27 |
make -C coreboot cscope-project |
| 28 |
|
| 29 |
RUN \ |
| 30 |
cd /tmp/work && \ |
| 31 |
make -C coreboot test-payloads && \ |
| 32 |
make -C coreboot test-tools -j && \ |
| 33 |
make -C coreboot test-lint -j && \ |
| 34 |
make -C coreboot test-cleanup -j && \ |
| 35 |
cd && \ |
| 36 |
rm -rf /tmp/work/ |