Skip to content

Commit d79f7bf

Browse files
Update Dockerfile
1 parent 3ec7e62 commit d79f7bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
FROM alpine:3.12.0 as fetcher
22

33
ARG KUSTOMIZE_VERSION=v3.8.1
4+
ARG KUSTIMIZE_HELM_PLUGIN=v0.9.0-beta
45

56
RUN wget -O- https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/${KUSTOMIZE_VERSION}/kustomize_${KUSTOMIZE_VERSION}_linux_amd64.tar.gz | tar xvz -C /usr/local/bin/
67

78
# RUN mv kustomize /usr/local/bin/kustomize
89
RUN chmod +x /usr/local/bin/kustomize
910

1011
RUN mkdir -p /root/.config/kustomize/plugin/helm.kustomize.mgoltzsche.github.com/v1/chartrenderer && \
11-
wget -O- https://github.com/mgoltzsche/helm-kustomize-plugin/releases/v0.9.0-beta/download/helm-kustomize-plugin > /root/.config/kustomize/plugin/helm.kustomize.mgoltzsche.github.com/v1/chartrenderer/ChartRenderer && \
12+
wget -O- https://github.com/mgoltzsche/helm-kustomize-plugin/releases/download/${KUSTIMIZE_HELM_PLUGIN}/helm-kustomize-plugin > /root/.config/kustomize/plugin/helm.kustomize.mgoltzsche.github.com/v1/chartrenderer/ChartRenderer && \
1213
chmod u+x /root/.config/kustomize/plugin/helm.kustomize.mgoltzsche.github.com/v1/chartrenderer/ChartRenderer
1314

1415
FROM alpine:3.12.0

0 commit comments

Comments
 (0)