From c2d1b8fd20d5ab341b04f93787ec9cc8daba655f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=BBygowski?= Date: Mon, 15 May 2023 10:41:51 +0200 Subject: [PATCH] Dockerfile: remove coreboot dir after build to save space MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Żygowski --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index e7950cf..8954543 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,14 +30,14 @@ RUN wget https://github.com/LongSoft/UEFITool/releases/download/A59/UEFIExtract_ mv UEFIExtract /usr/local/bin && \ rm UEFIExtract_NE_A59_linux_x86_64.zip -RUN git clone https://github.com/coreboot/coreboot.git \ - -b master \ - --depth 1 && \ +RUN git clone https://github.com/coreboot/coreboot.git && \ cd coreboot && \ git checkout 497fea7d673b201b044a70baeb93ef04e175fa58 && \ cd util/cbfstool && \ make && \ - make install + make install && \ + cd ../../../ && \ + rm -rf coreboot # Build vboot tools. We should use a common revision of vboot tools there, # which is known to support correctly all of the Dasharo platforms.