From 897b06a2c336990792606fca379ab4ef4fa58da3 Mon Sep 17 00:00:00 2001 From: Lifei Chen Date: Sat, 11 Feb 2023 09:03:32 +0800 Subject: [PATCH] chore: Force rebuild staticfiles when build argocli image. (#10499) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 陈利飞 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2e742f49d66a..868a6ae265cd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -75,7 +75,7 @@ COPY --from=argo-ui ui/dist/app ui/dist/app RUN cat .dockerignore >> .gitignore RUN git status --porcelain | cut -c4- | xargs git update-index --skip-worktree -RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache/go-build make dist/argo +RUN --mount=type=cache,target=/go/pkg/mod --mount=type=cache,target=/root/.cache/go-build STATIC_FILES=true make dist/argo ####################################################################################################