From dce47dd06bc5b40ecfd46befa20eadf7d7bcd264 Mon Sep 17 00:00:00 2001 From: Matteo Merli Date: Fri, 21 Jun 2024 11:25:53 +0200 Subject: [PATCH] Upgrade all Alpine packages at build time --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 48eec52d..1407d89b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -45,4 +45,7 @@ WORKDIR / COPY --from=builder /workspace/manager . USER 65532:65532 +# Upgrade all packages to get latest versions with security fixes +RUN apk upgrade --no-cache + ENTRYPOINT ["/manager"]