Udpate: All FluxCD Dockerfile
This commit is contained in:
parent
24ec78cd5e
commit
7b81994f70
@ -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
|
||||
|
||||
@ -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/
|
||||
|
||||
@ -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 \
|
||||
|
||||
@ -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" ]
|
||||
|
||||
@ -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/
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user