From a0d800b578955a8bd28deee5fa210f51d4a8b8c1 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 11 Jan 2024 14:08:01 +0000 Subject: [PATCH] fix: Dockerfile.base to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE317-OPENSSL-6148880 - https://snyk.io/vuln/SNYK-ALPINE317-OPENSSL-6148880 --- Dockerfile.base | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.base b/Dockerfile.base index 69f7e97..dd57ae0 100644 --- a/Dockerfile.base +++ b/Dockerfile.base @@ -9,7 +9,7 @@ RUN mix setup && mix release # Compressor stage for compressing the bundled erlang runtime # You may call it premature optimization, I call it "a few MB less" :P -FROM alpine:3.17 as compressor +FROM alpine:3.18.5 as compressor COPY --from=builder /app/_build/prod/rel/clei /app @@ -17,7 +17,7 @@ RUN apk add upx && \ upx --lzma --best /app/erts-*/bin/* || true # Final destination image -FROM alpine:3.17 +FROM alpine:3.18.5 LABEL maintainer="Nick Fischer "