chore: Remove kubecl from the builder

This commit is contained in:
Nikolai Rodionov 2023-05-23 17:44:02 +02:00
parent 80ffd53372
commit f2c561ff3f
No known key found for this signature in database
GPG Key ID: 19DB54039EBF8F10

View File

@ -6,10 +6,6 @@ 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&&\
@ -17,4 +13,3 @@ RUN apk update --no-cache&&\
buildah cni-plugins iptables ip6tables --no-cache
COPY --from=rclone /out/rclone /usr/bin/rclone
COPY --from=argocd /out/argocd /usr/bin/argocd
COPY --from=kubectl /out/kubectl /usr/bin/kubectl