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/library/alpine
|
|
|
|
RUN apk update --no-cache&&\
|
2023-04-24 20:38:51 +00:00
|
|
|
apk add yq gettext openssl curl jq perl git git-lfs\
|
2023-05-24 07:11:39 +00:00
|
|
|
buildah cni-plugins iptables ip6tables fuse-overlayfs --no-cache
|
2023-05-24 07:51:58 +00:00
|
|
|
RUN sed -i 's/#mount_program/mount_program/' /etc/containers/storage.conf
|
2023-04-24 18:59:30 +00:00
|
|
|
COPY --from=rclone /out/rclone /usr/bin/rclone
|
|
|
|
COPY --from=argocd /out/argocd /usr/bin/argocd
|