From 6ce62d1573ef3b54e4df6a867faf991ab175a09f Mon Sep 17 00:00:00 2001 From: Snyk bot Date: Mon, 1 Nov 2021 20:17:25 +0100 Subject: [PATCH] [Snyk] Security upgrade alpine from 3.10 to 3.11.12 (#53) Signed-off-by: Yee Hing Tong --- Dockerfile | 4 ++-- boilerplate/flyte/golang_dockerfile/Dockerfile.GoTemplate | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b26ec35698..dd2bc9b655 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ # # TO OPT OUT OF UPDATES, SEE https://github.com/lyft/boilerplate/blob/master/Readme.rst -FROM golang:1.13.3-alpine3.10 as builder +FROM golang:1.17.1-alpine3.14 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.10 +FROM alpine:3.14 LABEL org.opencontainers.image.source https://github.com/lyft/datacatalog COPY --from=builder /artifacts /bin diff --git a/boilerplate/flyte/golang_dockerfile/Dockerfile.GoTemplate b/boilerplate/flyte/golang_dockerfile/Dockerfile.GoTemplate index 2b5b775c62..98fc70e001 100644 --- a/boilerplate/flyte/golang_dockerfile/Dockerfile.GoTemplate +++ b/boilerplate/flyte/golang_dockerfile/Dockerfile.GoTemplate @@ -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.10 +FROM alpine:3.11.12 COPY --from=builder /artifacts /bin RUN apk --update add ca-certificates