From: Juha Kosonen Date: Mon, 28 Oct 2019 11:41:08 +0000 (+0200) Subject: Copy helm charts from tagged version v2.15.1 X-Git-Tag: 2.0.0~13 X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F61%2F1861%2F1;p=validation.git Copy helm charts from tagged version v2.15.1 JIRA: VAL-71 Change-Id: I0d5e3082805c3aeac24889414973032a5ee29f84 Signed-off-by: Juha Kosonen --- diff --git a/docker/helm/Dockerfile b/docker/helm/Dockerfile index 896403b..5d9c9af 100644 --- a/docker/helm/Dockerfile +++ b/docker/helm/Dockerfile @@ -17,6 +17,8 @@ # ref: https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#use-multi-stage-builds FROM python:3.6-alpine3.9 as build +ARG HELM_TAG=v2.15.1 + # Install dependencies COPY pip-requirements.txt /wheels/requirements/pip-requirements.txt RUN apk --no-cache add --update \ @@ -33,7 +35,7 @@ WORKDIR /wheels RUN pip3 install wheel RUN pip3 wheel -r /wheels/requirements/pip-requirements.txt RUN git clone https://gerrit.akraino.org/r/validation /opt/akraino/validation -RUN git clone https://github.com/helm/helm.git /opt/helm +RUN git clone -b $HELM_TAG https://github.com/helm/helm.git /opt/helm # Copy binaries in the final container and install requirements FROM python:3.6-alpine3.9