Skip to content

Commit 531a64e

Browse files
Add helm-kustomize-plugin
1 parent c50d0da commit 531a64e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ RUN wget -O- https://github.com/kubernetes-sigs/kustomize/releases/download/kust
77
# RUN mv kustomize /usr/local/bin/kustomize
88
RUN chmod +x /usr/local/bin/kustomize
99

10+
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+
chmod u+x /root/.config/kustomize/plugin/helm.kustomize.mgoltzsche.github.com/v1/chartrenderer/ChartRenderer
13+
1014
FROM alpine:3.12.0
1115

1216
WORKDIR /workdir
@@ -16,3 +20,4 @@ ENTRYPOINT [ "/usr/local/bin/kustomize" ]
1620
RUN apk add git --no-cache
1721

1822
COPY --from=fetcher /usr/local/bin/kustomize /usr/local/bin/kustomize
23+
COPY --from=fetcher /root/.config/kustomize/plugin/helm.kustomize.mgoltzsche.github.com/v1/chartrenderer/ChartRenderer /root/.config/kustomize/plugin/helm.kustomize.mgoltzsche.github.com/v1/chartrenderer/ChartRenderer

0 commit comments

Comments
 (0)