-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the helm beta version 3 binary into the docker container under the name helm3. Can be selected with the helm input argument.
- Loading branch information
Showing
2 changed files
with
25 additions
and
6 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,4 +1,22 @@ | ||
FROM alpine/helm:2.14.0 | ||
RUN apk add --no-cache jq curl bash nodejs && helm init --client-only | ||
FROM alpine:3.10.2 | ||
|
||
ENV BASE_URL="https://get.helm.sh" | ||
ENV HELM_2_FILE="helm-v2.14.3-linux-amd64.tar.gz" | ||
ENV HELM_3_FILE="helm-v3.0.0-beta.3-linux-amd64.tar.gz" | ||
|
||
RUN apk add --no-cache ca-certificates jq curl bash nodejs && \ | ||
# Install helm version 2: | ||
curl -L ${BASE_URL}/${HELM_2_FILE} |tar xvz && \ | ||
mv linux-amd64/helm /usr/bin/helm && \ | ||
chmod +x /usr/bin/helm && \ | ||
rm -rf linux-amd64 && \ | ||
# Install helm version 3: | ||
curl -L ${BASE_URL}/${HELM_3_FILE} |tar xvz && \ | ||
mv linux-amd64/helm /usr/bin/helm3 && \ | ||
chmod +x /usr/bin/helm3 && \ | ||
rm -rf linux-amd64 && \ | ||
# Init version 2 helm: | ||
helm init --client-only | ||
|
||
COPY . /usr/src/ | ||
ENTRYPOINT ["node", "/usr/src/index.js"] |
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