diff --git a/Dockerfile b/Dockerfile index b26ec356..dd2bc9b6 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 2b5b775c..98fc70e0 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