fluxcd: Update all Dockerfile

This commit is contained in:
Haitao Pan 2023-03-09 16:42:10 +08:00
parent 29e521f7e3
commit 6ae895cf18
6 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
FROM ghcr.io/fluxcd/flux-cli:v0.31.3 as build
FROM artifact.onwalk.net/k8s/alpine-ca:3.13 as prod
FROM artifact.onwalk.net/public/alpine-ca:3.13 as prod
COPY --from=build /usr/local/bin/kubectl /usr/local/bin/
COPY --from=build /usr/local/bin/flux /usr/local/bin/
USER 65534:65534

View File

@ -1,6 +1,6 @@
FROM ghcr.io/fluxcd/helm-controller:v0.22.1 as build
FROM artifact.onwalk.net/k8s/alpine-ca:3.13 as prod
FROM artifact.onwalk.net/public/alpine-ca:3.13 as prod
LABEL org.opencontainers.image.source="https://github.com/fluxcd/helm-controller"
RUN apk add --no-cache ca-certificates tini
COPY --from=build /usr/local/bin/helm-controller /usr/local/bin/

View File

@ -72,7 +72,7 @@ RUN export LIBRARY_PATH="/usr/local/$(xx-info triple)" && \
# Ensure that the binary was cross-compiled correctly to the target platform.
RUN xx-verify --static /image-automation-controller
FROM artifact.onwalk.net/k8s/alpine-ca:3.13
FROM artifact.onwalk.net/public/alpine-ca:3.13
ARG TARGETPLATFORM
RUN apk --no-cache add ca-certificates \

View File

@ -1,6 +1,6 @@
FROM ghcr.io/fluxcd/image-automation-controller:v0.23.4 as build
FROM artifact.onwalk.net/k8s/alpine-ca:3.13 as prod
FROM artifact.onwalk.net/public/alpine-ca:3.13 as prod
ARG TARGETPLATFORM
RUN [ ! -e /etc/nsswitch.conf ] && echo 'hosts: files dns' > /etc/nsswitch.conf
COPY --from=build /usr/local/bin/image-automation-controller /usr/local/bin/

View File

@ -1,6 +1,6 @@
FROM ghcr.io/fluxcd/image-reflector-controller:v0.19.2 as build
FROM artifact.onwalk.net/k8s/alpine-ca:3.13 as prod
FROM artifact.onwalk.net/public/alpine-ca:3.13 as prod
RUN apk add --no-cache ca-certificates tini
COPY --from=builder /usr/local/bin/image-reflector-controller /usr/local/bin/

View File

@ -1,6 +1,6 @@
FROM ghcr.io/fluxcd/source-controller:v0.25.9 as build
FROM artifact.onwalk.net/k8s/alpine-ca:3.13 as prod
FROM artifact.onwalk.net/public/alpine-ca:3.13 as prod
ARG TARGETPLATFORM
RUN apk --no-cache add ca-certificates && update-ca-certificates