Skip to content

Commit 35ffe86

Browse files
add installer image
1 parent 9683561 commit 35ffe86

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

installer-image/Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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

0 commit comments

Comments
 (0)