-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: versioned docker builds must work now
- Loading branch information
Showing
2 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
ARG BASE_VERSION=latest | ||
FROM ghcr.io/allanger/dumb-downloader as builder | ||
ARG ARGOCD_VERSION=v2.5.10 | ||
ENV RUST_LOG=info | ||
RUN mkdir /out | ||
RUN dudo -l "https://github.com/argoproj/argo-cd/releases/download/{{ version }}/argocd-{{ os }}-{{ arch }}" -i /tmp/argocd -p $ARGOCD_VERSION | ||
RUN mv /tmp/argocd /out/argocd && chmod +x /out/argocd | ||
|
||
FROM ghcr.io/allanger/check-da-helm-base | ||
FROM ghcr.io/allanger/check-da-helm-base:${BASE_VERSION} | ||
COPY --from=builder /out/ /usr/bin | ||
RUN apk update --no-cache && apk add --no-cache jq bash | ||
ENTRYPOINT ["cdh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters