diff --git a/Dockerfile b/Dockerfile index b290c084..12aa36ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,8 +14,10 @@ RUN addgroup -g 4200 appgroup \ && adduser -h /home/appuser -s /sbin/nologin -G appgroup -D -u 4200 appuser # upgrade all installed packages to fix potential CVEs in advance +# also remove apk package manager to hopefully remove dependecy on openssl 🤞 RUN apk upgrade --no-cache --no-progress \ - && apk add --no-cache --no-progress ca-certificates + && apk add --no-cache --no-progress ca-certificates \ + && apk del --no-cache --no-progress apk-tools alpine-keys COPY --from=builder /pkg/ /usr/