X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=docker%2Fhelm%2FDockerfile;h=5d9c9afa2e7f55fb3c9c73970b5b8a6e2818f6c3;hb=0c0d31b48d22844ad3c8a5583c0e669dc16538e4;hp=841d261c9621c57b0904334e5f1594bb7a9e8199;hpb=c0badaca56ee45b12bfc08113e46d75b3b6ad67b;p=validation.git diff --git a/docker/helm/Dockerfile b/docker/helm/Dockerfile index 841d261..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,11 +35,13 @@ 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 -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 COPY --from=build /wheels /wheels COPY --from=build /opt/akraino/validation /opt/akraino/validation +COPY --from=build /opt/helm/docs/examples/alpine /opt/akraino/bluval-test-alpine RUN pip3 install -r /wheels/requirements/pip-requirements.txt \ -f /wheels && \