Fix extraction of helm

This commit is contained in:
jenkins-x-bot 2020-09-14 10:49:10 +08:00
parent 276974dbf6
commit 02dd89210e

View File

@ -14,9 +14,9 @@ RUN apk update && \
mkdir /data && cd /data && git clone --single-branch --branch master https://git.ervine.org/jonny/flask-python-helm /data && \
pip3 install -r /data/requirements.txt && \
curl -L "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl" -o /usr/local/bin/kubetl && \
curl -L https://get.helm.sh/helm-v2.13.1-linux-amd64.tar.gz -o /tmp/helm-2.13.1.tgz && tar zxf /tmp/helm-2.13.1.tgz && \
cp /linux-amd64/helm /usr/local/bin/helm-2.13.1 && chmod 755 /usr/local/bin/* && \
rm -rf /tmp/src && rm -rf /var/cache/apk/* && rm -rf /linux-amd64
curl -L https://get.helm.sh/helm-v2.13.1-linux-amd64.tar.gz -o /tmp/helm-2.13.1.tgz && \
tar -zxvf /tmp/helm-2.13.1.tgz --strip-components=1 -C /usr/local/bin linux-amd64/helm && \
rm -rf /tmp/src && rm -rf /var/cache/apk/*
EXPOSE 3000