From 994a707addbcea92f320a1c5e4c2e9d103571157 Mon Sep 17 00:00:00 2001 From: Snyk bot Date: Fri, 15 Jul 2022 16:36:01 +0100 Subject: [PATCH] [Snyk] Security upgrade alpine from 3.15 to 3.16 (#455) * fix: Dockerfile to reduce vulnerabilities Signed-off-by: Haytham Abuelfutuh * Update builder image as well Signed-off-by: Haytham Abuelfutuh Co-authored-by: Haytham Abuelfutuh --- flytepropeller/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flytepropeller/Dockerfile b/flytepropeller/Dockerfile index b6510ed212..495631a223 100644 --- a/flytepropeller/Dockerfile +++ b/flytepropeller/Dockerfile @@ -3,7 +3,7 @@ # # TO OPT OUT OF UPDATES, SEE https://github.com/lyft/boilerplate/blob/master/Readme.rst -FROM golang:1.18.0-alpine3.15 as builder +FROM golang:1.18-alpine3.16 as builder RUN apk add git openssh-client make curl # COPY only the go mod files for efficient caching @@ -24,7 +24,7 @@ RUN make linux_compile ENV PATH="/artifacts:${PATH}" # This will eventually move to centurylink/ca-certs:latest for minimum possible image size -FROM alpine:3.15 +FROM alpine:3.16 LABEL org.opencontainers.image.source https://github.com/flyteorg/flytepropeller COPY --from=builder /artifacts /bin