mirror of
https://github.com/helm/chart-testing.git
synced 2026-02-05 09:45:14 +01:00
fix download path to get helm binary (#355)
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
This commit is contained in:
committed by
GitHub
parent
bd40619bf0
commit
aada0fd8af
13
Dockerfile
13
Dockerfile
@@ -25,12 +25,13 @@ RUN curl -LO "https://storage.googleapis.com/kubernetes-release/release/$KUBECTL
|
||||
mv kubectl /usr/local/bin/
|
||||
|
||||
# Install Helm
|
||||
ARG HELM_VERSION=v2.17.0
|
||||
RUN curl -LO "https://kubernetes-helm.storage.googleapis.com/helm-$HELM_VERSION-linux-amd64.tar.gz" && \
|
||||
mkdir -p "/usr/local/helm-$HELM_VERSION" && \
|
||||
tar -xzf "helm-$HELM_VERSION-linux-amd64.tar.gz" -C "/usr/local/helm-$HELM_VERSION" && \
|
||||
ln -s "/usr/local/helm-$HELM_VERSION/linux-amd64/helm" /usr/local/bin/helm && \
|
||||
rm -f "helm-$HELM_VERSION-linux-amd64.tar.gz"
|
||||
ARG helm_version=v2.17.0
|
||||
LABEL helm_version=$helm_version
|
||||
RUN curl -LO "https://get.helm.sh/helm-$helm_version-linux-amd64.tar.gz" && \
|
||||
mkdir -p "/usr/local/helm-$helm_version" && \
|
||||
tar -xzf "helm-$helm_version-linux-amd64.tar.gz" -C "/usr/local/helm-$helm_version" && \
|
||||
ln -s "/usr/local/helm-$helm_version/linux-amd64/helm" /usr/local/bin/helm && \
|
||||
rm -f "helm-$helm_version-linux-amd64.tar.gz"
|
||||
|
||||
COPY ./etc/chart_schema.yaml /etc/ct/chart_schema.yaml
|
||||
COPY ./etc/lintconf.yaml /etc/ct/lintconf.yaml
|
||||
|
||||
Reference in New Issue
Block a user