diff --git a/CHANGELOG.md b/CHANGELOG.md index 6075420d..0461d24e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## 0.1.0 (August 19, 2021) +* [EOS-5453] Solve anchore report vulnerabilities * [EOS-5172] Capsule error 500 when has deployed with more than one replica * Adapt to Stratio CICD flow * Add system-user-group as exception of capsule-user-group diff --git a/Dockerfile b/Dockerfile index 4f65e011..59bcc9da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,7 +31,10 @@ RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build \ # Use distroless as minimal base image to package the manager binary # Refer to https://github.com/GoogleContainerTools/distroless for more details -FROM alpine:3.11 +FROM alpine:3.13 +# Upgrade packages for vulnerabilities +RUN apk update && apk upgrade + WORKDIR / COPY --from=builder /workspace/manager .