From faf6abbe22dd697e6d089367830957c7afa64ba6 Mon Sep 17 00:00:00 2001 From: Eduardo Apolinario Date: Tue, 5 Dec 2023 18:27:47 -0800 Subject: [PATCH] Use alpine 3.18 in component images Signed-off-by: Eduardo Apolinario --- Dockerfile.datacatalog | 4 ++-- Dockerfile.flyteadmin | 4 ++-- Dockerfile.flytecopilot | 4 ++-- Dockerfile.flytepropeller | 4 ++-- Dockerfile.flytescheduler | 4 ++-- Dockerfile.sandbox-lite | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Dockerfile.datacatalog b/Dockerfile.datacatalog index 341c4ee58a..065eb28722 100644 --- a/Dockerfile.datacatalog +++ b/Dockerfile.datacatalog @@ -3,7 +3,7 @@ # # TO OPT OUT OF UPDATES, SEE https://github.com/flyteorg/boilerplate/blob/master/Readme.rst -FROM --platform=${BUILDPLATFORM} golang:1.21.5-bookworm as builder +FROM --platform=${BUILDPLATFORM} golang:1.21.5-alpine3.18 as builder ARG TARGETARCH ENV GOARCH "${TARGETARCH}" @@ -39,7 +39,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.16 +FROM alpine:3.18 LABEL org.opencontainers.image.source=https://github.com/flyteorg/datacatalog COPY --from=builder /artifacts /bin diff --git a/Dockerfile.flyteadmin b/Dockerfile.flyteadmin index 18694ff26d..993949b221 100644 --- a/Dockerfile.flyteadmin +++ b/Dockerfile.flyteadmin @@ -3,7 +3,7 @@ # # TO OPT OUT OF UPDATES, SEE https://github.com/lyft/boilerplate/blob/master/Readme.rst -FROM --platform=${BUILDPLATFORM} golang:1.21.5-bookworm as builder +FROM --platform=${BUILDPLATFORM} golang:1.21.5-alpine3.18 as builder ARG TARGETARCH ENV GOARCH "${TARGETARCH}" @@ -39,7 +39,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.16 +FROM alpine:3.18 LABEL org.opencontainers.image.source https://github.com/flyteorg/flyteadmin COPY --from=builder /artifacts /bin diff --git a/Dockerfile.flytecopilot b/Dockerfile.flytecopilot index 2aa5e29daa..247a04e969 100644 --- a/Dockerfile.flytecopilot +++ b/Dockerfile.flytecopilot @@ -3,7 +3,7 @@ # # TO OPT OUT OF UPDATES, SEE https://github.com/lyft/boilerplate/blob/master/Readme.rst -FROM --platform=${BUILDPLATFORM} golang:1.21.5-bookworm as builder +FROM --platform=${BUILDPLATFORM} golang:1.21.5-alpine3.18 as builder ARG TARGETARCH ENV GOARCH "${TARGETARCH}" @@ -29,7 +29,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.16 +FROM alpine:3.18 LABEL org.opencontainers.image.source https://github.com/lyft/flyteplugins COPY --from=builder /artifacts /bin diff --git a/Dockerfile.flytepropeller b/Dockerfile.flytepropeller index c25d271ab0..8da39815be 100644 --- a/Dockerfile.flytepropeller +++ b/Dockerfile.flytepropeller @@ -3,7 +3,7 @@ # # TO OPT OUT OF UPDATES, SEE https://github.com/lyft/boilerplate/blob/master/Readme.rst -FROM --platform=${BUILDPLATFORM} golang:1.21.5-bookworm as builder +FROM --platform=${BUILDPLATFORM} golang:1.21.5-alpine3.18 as builder ARG TARGETARCH ENV GOARCH "${TARGETARCH}" @@ -29,7 +29,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.16 +FROM alpine:3.18 LABEL org.opencontainers.image.source https://github.com/flyteorg/flytepropeller COPY --from=builder /artifacts /bin diff --git a/Dockerfile.flytescheduler b/Dockerfile.flytescheduler index 6cf0ac5d37..2956d93959 100644 --- a/Dockerfile.flytescheduler +++ b/Dockerfile.flytescheduler @@ -3,7 +3,7 @@ # # TO OPT OUT OF UPDATES, SEE https://github.com/lyft/boilerplate/blob/master/Readme.rst -FROM --platform=${BUILDPLATFORM} golang:1.21.5-bookworm as builder +FROM --platform=${BUILDPLATFORM} golang:1.21.5-alpine3.18 as builder ARG TARGETARCH ENV GOARCH "${TARGETARCH}" @@ -32,7 +32,7 @@ RUN make linux_compile_scheduler 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.18 LABEL org.opencontainers.image.source https://github.com/flyteorg/flyteadmin COPY --from=builder /artifacts /bin diff --git a/Dockerfile.sandbox-lite b/Dockerfile.sandbox-lite index 0ae01ff5f4..095c83b6e1 100644 --- a/Dockerfile.sandbox-lite +++ b/Dockerfile.sandbox-lite @@ -4,7 +4,7 @@ ARG FLYTE_VERSION="latest" FROM ghcr.io/flyteorg/flyteconsole-release:${FLYTE_VERSION} AS flyteconsole -FROM --platform=${BUILDPLATFORM} golang:1.21.5-bookworm AS go_builder +FROM --platform=${BUILDPLATFORM} golang:1.19.0-alpine3.16 AS go_builder ARG TARGETARCH ENV GOARCH=${TARGETARCH}