File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM --platform=$BUILDPLATFORM debian:bullseye-slim
2
+ RUN apt-get update -y && apt-get install curl -y
3
+ ARG CF_CLI_VERSION=v0.1.25
4
+ ARG KUBECTL_VERSION=v1.26.0
5
+ ARG ARGOCD_VERSION=v2.4.15
6
+ ARG TARGETARCH
7
+ RUN echo "${TARGETARCH}"
8
+ RUN curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/${CF_CLI_VERSION}/cf-linux-${TARGETARCH}.tar.gz | tar zx && mv ./cf-linux-${TARGETARCH} /usr/local/bin/cf
9
+ RUN curl -LO https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/${TARGETARCH}/kubectl && chmod +x kubectl && mv ./kubectl /usr/local/bin/kubectl
10
+ RUN curl -sSL -o /usr/local/bin/argocd https://github.com/argoproj/argo-cd/releases/download/${ARGOCD_VERSION}/argocd-linux-${TARGETARCH} && chmod +x /usr/local/bin/argocd
You can’t perform that action at this time.
0 commit comments