Merge pull request #159 from wendorf/dockerfile-helm-diff
Dockerfile installs helm-diff
This commit is contained in:
		
						commit
						afa45930c1
					
				|  | @ -9,7 +9,7 @@ RUN make static-linux | ||||||
| 
 | 
 | ||||||
| FROM alpine:3.7 | 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_VERSION=v2.9.1 | ||||||
| ARG HELM_LOCATION="https://kubernetes-helm.storage.googleapis.com" | 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/ && \ |     tar zxf ${HELM_FILENAME} && mv /linux-amd64/helm /usr/local/bin/ && \ | ||||||
|     rm ${HELM_FILENAME} && rm -r /linux-amd64 |     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 | COPY --from=builder /go/src/github.com/roboll/helmfile/dist/helmfile_linux_amd64 /usr/local/bin/helmfile | ||||||
| 
 | 
 | ||||||
| CMD ["/usr/local/bin/helmfile"] | CMD ["/usr/local/bin/helmfile"] | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue