Skip to contentSkip to conversation

Dockerfile: Add missing 'rm -rf /tmp/coreboot-24.08'

PATCH In review Tom Rini 1 participant 2 messages Feb 12, 2025 – Mar 13, 2025

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 Dockerfile: Add missing 'rm -rf /tmp/coreboot-24.08'

We had missed removing the coreboot directory once done, fix this.

---
 tools/docker/Dockerfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
tools/docker/Dockerfile +2 -1
index d2848ab85f35..c080c735af65 100644
@@ -297,7 +297,8 @@ RUN wget -O - https://coreboot.org/releases/coreboot-24.08.tar.xz | tar -C /tmp
     make olddefconfig && \
     make -j $(nproc) && \
     sudo mkdir /opt/coreboot && \
-    sudo cp build/coreboot.rom build/cbfstool /opt/coreboot/
+    sudo cp build/coreboot.rom build/cbfstool /opt/coreboot/ && \
+    rm -rf /tmp/coreboot-24.08
 
 # Create our user/group
 RUN echo uboot ALL=NOPASSWD: ALL > /etc/sudoers.d/uboot
Signature · 1 line
2.43.0
author
#1 lore raw
Quoted 3 lines · Tom Rini

We had missed removing the coreboot directory once done, fix this.

Applied to u-boot/next, thanks!

[1/1] Dockerfile: Add missing 'rm -rf /tmp/coreboot-24.08'

      commit: a920169b4c7446702f3fbf3a61cc55069ee128f9
Signature · 1 line
Tom