badhouseplants-builder/Containerfile

17 lines
578 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/library/alpine
RUN apk update --no-cache&&\
apk add yq gettext openssl curl jq perl git git-lfs\
buildah cni-plugins iptables ip6tables fuse-overlayfs --no-cache
RUN sed -i 's/#mount_program/mount_program/' /etc/containers/storage.conf
COPY --from=rclone /out/rclone /usr/bin/rclone
COPY --from=argocd /out/argocd /usr/bin/argocd