Merge pull request #159 from wendorf/dockerfile-helm-diff

Dockerfile installs helm-diff
This commit is contained in:
KUOKA Yusuke 2018-06-01 12:06:06 +09:00 committed by GitHub
commit afa45930c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -9,7 +9,7 @@ RUN make static-linux
FROM alpine:3.7
RUN apk add --no-cache ca-certificates
RUN apk add --no-cache ca-certificates git bash
ARG HELM_VERSION=v2.9.1
ARG HELM_LOCATION="https://kubernetes-helm.storage.googleapis.com"
@ -20,6 +20,9 @@ RUN wget ${HELM_LOCATION}/${HELM_FILENAME} && \
tar zxf ${HELM_FILENAME} && mv /linux-amd64/helm /usr/local/bin/ && \
rm ${HELM_FILENAME} && rm -r /linux-amd64
RUN mkdir -p "$(helm home)/plugins"
RUN helm plugin install https://github.com/databus23/helm-diff
COPY --from=builder /go/src/github.com/roboll/helmfile/dist/helmfile_linux_amd64 /usr/local/bin/helmfile
CMD ["/usr/local/bin/helmfile"]