summaryrefslogtreecommitdiff
path: root/tools/docker
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2024-03-11 13:40:06 -0400
committerTom Rini <[email protected]>2024-03-11 15:27:20 -0400
commit20a0ce574d6642e0dfe651467159039fac48cc4f (patch)
tree9a76dcd90a2e27e65963b4a74d1621cd10fe91f0 /tools/docker
parentbeedf675b36841ce1e077779157a87a6505317e6 (diff)
parentf3c979dd0053c082d2df170446923e7ce5edbc2d (diff)
Merge tag 'v2024.04-rc4' into next
Prepare v2024.04-rc4
Diffstat (limited to 'tools/docker')
-rw-r--r--tools/docker/Dockerfile13
1 files changed, 12 insertions, 1 deletions
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 6122776bc64..27425545661 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -2,7 +2,7 @@
# This Dockerfile is used to build an image containing basic stuff to be used
# to build U-Boot and run our test suites.
-FROM ubuntu:jammy-20240111
+FROM ubuntu:jammy-20240125
MAINTAINER Tom Rini <[email protected]>
LABEL Description=" This image is for building U-Boot inside a container"
@@ -231,6 +231,17 @@ RUN mkdir /tmp/trace && \
sudo make install && \
rm -rf /tmp/trace
+# Build coreboot
+RUN wget -O - https://coreboot.org/releases/coreboot-4.22.01.tar.xz | tar -C /tmp -xJ && \
+ cd /tmp/coreboot-4.22.01 && \
+ make crossgcc-i386 CPUS=$(nproc) && \
+ make -C payloads/coreinfo olddefconfig && \
+ make -C payloads/coreinfo && \
+ make olddefconfig && \
+ make -j $(nproc) && \
+ sudo mkdir /opt/coreboot && \
+ sudo cp build/coreboot.rom build/cbfstool /opt/coreboot/
+
# Create our user/group
RUN echo uboot ALL=NOPASSWD: ALL > /etc/sudoers.d/uboot
RUN useradd -m -U uboot