Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
Add helm cli to argocd-cmp docker image (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
adberger authored Mar 26, 2024
1 parent a42c2cf commit 5234612
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion argocd-cmp/Dockerfile.goreleaser
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
FROM alpine as helm
WORKDIR /app
ADD https://get.helm.sh/helm-v3.13.2-linux-amd64.tar.gz helm-v3.13.2-linux-amd64.tar.gz
RUN tar -zxvf helm-v3.13.2-linux-amd64.tar.gz

FROM bash:5
ENV ARGOCD_EXEC_TIMEOUT=90s
COPY subst /subst
COPY argocd-cmp/cmp.yaml /home/argocd/cmp-server/config/plugin.yaml
COPY argocd-cmp/entrypoint.sh /entrypoint.sh
COPY --from=helm /app/linux-amd64/helm /helm
RUN adduser -H -D -s /bin/bash -G nobody -u 999 argocd && \
chmod +x /entrypoint.sh
USER argocd:nobody
ENTRYPOINT ["/entrypoint.sh"]

0 comments on commit 5234612

Please sign in to comment.