Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
Merge pull request #5 from TakeoffTech/feature/SRE-4148
Browse files Browse the repository at this point in the history
SRE-4148: set stable-repo-url for helm2 + bump helm3 version
  • Loading branch information
vliubko authored Dec 22, 2020
2 parents b6dd411 + 371efaf commit 3abdee6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM alpine:3.12.1 AS compile-image

ENV VERSION2="2.16.7" \
VERSION3="3.2.1" \
VERSION3="3.4.2" \
BASE_URL="https://get.helm.sh"
ENV TAR_FILEV2="helm-v${VERSION2}-linux-amd64.tar.gz" \
TAR_FILEV3="helm-v${VERSION3}-linux-amd64.tar.gz"
Expand Down Expand Up @@ -32,7 +32,7 @@ COPY --from=compile-image /usr/local/bin/kubectl /usr/local/bin/kubectl
COPY LICENSE README.md /

RUN apk add --update --no-cache curl ca-certificates bash git openssh-client parallel && \
helm init --client-only --kubeconfig=$HOME/.kube/kubeconfig && \
helm init --client-only --kubeconfig=$HOME/.kube/kubeconfig --stable-repo-url https://charts.helm.sh/stable && \
chmod +x /usr/local/bin/kubectl /bin/kubeval /usr/local/bin/yq /bin/helmv3 /bin/helm && \
mkdir ~/.ssh && \
ssh-keyscan -H github.com > ~/.ssh/known_hosts
Expand Down

0 comments on commit 3abdee6

Please sign in to comment.