Udpate: All FluxCD Dockerfile

This commit is contained in:
Haitao Pan 2023-03-09 17:25:50 +08:00
parent 24ec78cd5e
commit 7b81994f70
8 changed files with 9 additions and 9 deletions

View File

@ -1,6 +1,6 @@
FROM ghcr.io/fluxcd/flux-cli:v0.31.3 as build
FROM artifact.onwalk.net/public/alpine-ca:3.13 as prod
FROM artifact.onwalk.net/public/alpine-ca:latest 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/public/alpine-ca:3.13 as prod
FROM artifact.onwalk.net/public/alpine-ca:latest 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/public/alpine-ca:3.13
FROM artifact.onwalk.net/public/alpine-ca:latest
ARG TARGETPLATFORM
RUN apk --no-cache add ca-certificates \

View File

@ -1,9 +1,9 @@
FROM ghcr.io/fluxcd/image-automation-controller:v0.23.4 as build
FROM artifact.onwalk.net/public/alpine-ca:3.13 as prod
FROM artifact.onwalk.net/public/alpine-ca:latest 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/
USER 65534:65534
ENTRYPOINT [ "image-automation-controller" ]
NTRYPOINT [ "image-automation-controller" ]

View File

@ -1,6 +1,6 @@
FROM ghcr.io/fluxcd/image-reflector-controller:v0.19.2 as build
FROM artifact.onwalk.net/public/alpine-ca:3.13 as prod
FROM artifact.onwalk.net/public/alpine-ca:latest 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/kustomize-controller:v0.26.2 as build
FROM artifact.onwalk.net/public/alpine-ca:3.13 as prod
FROM artifact.onwalk.net/public/alpine-ca:latest as prod
RUN apk add --no-cache ca-certificates tini git openssh-client && apk add --no-cache gnupg --repository=https://dl-cdn.alpinelinux.org/alpine/edge/main

View File

@ -1,6 +1,6 @@
FROM ghcr.io/fluxcd/notification-controller:v0.24.0 as build
FROM artifact.onwalk.net/public/alpine-ca:3.13 as prod
FROM artifact.onwalk.net/public/alpine-ca:latest as prod
LABEL org.opencontainers.image.source="https://github.com/fluxcd/notification-controller"
RUN apk add --no-cache ca-certificates tini

View File

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