19 lines
592 B
Docker
19 lines
592 B
Docker
FROM registry.hub.docker.com/rclone/rclone AS rclone
|
|
WORKDIR /out
|
|
RUN cp $(which rclone) /out/rclone
|
|
|
|
FROM registry.hub.docker.com/argoproj/argocd as argocd
|
|
WORKDIR /out
|
|
RUN cp $(which argocd) /out/argocd
|
|
|
|
FROM registry.hub.docker.com/alpine/k8s:1.24.10 as kubectl
|
|
WORKDIR /out
|
|
RUN cp $(which kubectl) /out/kubectl
|
|
|
|
|
|
FROM registry.hub.docker.com/library/alpine
|
|
RUN apk update --no-cache&&\
|
|
apk add yq gettext openssl curl jq perl git --no-cache
|
|
COPY --from=rclone /out/rclone /usr/bin/rclone
|
|
COPY --from=argocd /out/argocd /usr/bin/argocd
|
|
COPY --from=kubectl /out/kubectl /usr/bin/kubectl |