badhouseplants-builder/Containerfile
Nikolai Rodionov 113fe6ff03
Add builder scripts to the container
- Add the build script
- Add the cleanup script
2023-05-30 10:39:45 +02:00

17 lines
530 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
COPY --from=rclone /out/rclone /usr/bin/rclone
COPY --from=argocd /out/argocd /usr/bin/argocd
COPY ./scripts/ /usr/bin/