badhouseplants-builder/Containerfile

21 lines
649 B
Plaintext
Raw Normal View History

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 20:38:51 +00:00
apk add yq gettext openssl curl jq perl git git-lfs\
2023-04-24 19:05:07 +00:00
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