mirror of
https://github.com/helm/chart-testing.git
synced 2026-02-05 09:45:14 +01:00
Helm 2.10 and fix permissions (#13)
* Helm 2.10.0 * Fix helm init with uid
This commit is contained in:
committed by
Matt Farina
parent
64c0eef72c
commit
afdaae66db
@@ -24,6 +24,8 @@ RUN apk --no-cache add \
|
||||
py-crcmod \
|
||||
py-pip
|
||||
|
||||
ENV HOME /tmp
|
||||
|
||||
# Install YQ command line reader
|
||||
ARG YQ_VERSION=2.5.0
|
||||
RUN pip install "yq==$YQ_VERSION"
|
||||
@@ -49,7 +51,7 @@ RUN curl -LO "https://storage.googleapis.com/kubernetes-release/release/v$KUBECT
|
||||
mv kubectl /usr/local/bin/
|
||||
|
||||
# Install Helm
|
||||
ARG HELM_VERSION=2.9.1
|
||||
ARG HELM_VERSION=2.10.0
|
||||
RUN curl -LO "https://kubernetes-helm.storage.googleapis.com/helm-v$HELM_VERSION-linux-amd64.tar.gz" && \
|
||||
mkdir -p "/usr/local/helm-$HELM_VERSION" && \
|
||||
tar -xzf "helm-v$HELM_VERSION-linux-amd64.tar.gz" -C "/usr/local/helm-$HELM_VERSION" && \
|
||||
@@ -61,3 +63,4 @@ COPY lib /testing/lib/
|
||||
COPY chart_test.sh /testing/
|
||||
|
||||
RUN ln -s /testing/chart_test.sh /usr/local/bin/chart_test.sh
|
||||
USER nobody
|
||||
|
||||
Reference in New Issue
Block a user