From 046d1c793241047243cb75fee70a2a943488000a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C5=91rinc?= Date: Thu, 25 Jul 2024 19:37:33 +0200 Subject: [PATCH] Add `make clean` to docker images after local copy similarly to https://github.com/paplorinc/strfry/blob/233c50c88be68c08de93211300bd80cbc89523ae/ubuntu.Dockerfile#L12 --- Dockerfile | 1 + arch.Dockerfile | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 9be5cfb9..80f03ff0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,6 +28,7 @@ RUN \ && rm -rf /var/cache/apk/* \ && git submodule update --init \ && make setup-golpe \ + && make clean \ && make -j4 FROM alpine:3.18.3 diff --git a/arch.Dockerfile b/arch.Dockerfile index 06987265..300eee65 100644 --- a/arch.Dockerfile +++ b/arch.Dockerfile @@ -23,6 +23,8 @@ RUN git submodule update --init # build golpe RUN make setup-golpe +RUN make clean + # build strfry RUN make