2023-04-24 18:59:30 +00:00
|
|
|
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&&\
|
2023-04-24 19:05:07 +00:00
|
|
|
apk add yq gettext openssl curl jq perl git\
|
|
|
|
buildah cni-plugins iptables ip6tables --no-cache
|
2023-04-24 18:59:30 +00:00
|
|
|
COPY --from=rclone /out/rclone /usr/bin/rclone
|
|
|
|
COPY --from=argocd /out/argocd /usr/bin/argocd
|
2023-04-24 19:05:07 +00:00
|
|
|
COPY --from=kubectl /out/kubectl /usr/bin/kubectl
|