Skip to content

Commit 69035d6

Browse files
committed
Fix extraction of helm binary in kubectl image
1 parent 1a2bae3 commit 69035d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

kubectl/okd-c1/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN curl -sSLO https://github.com/jsonnet-bundler/jsonnet-bundler/releases/downl
2121
&& chmod ug+x jb-linux-amd64
2222

2323
RUN curl -sSLO "https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz" \
24-
&& tar zxf helm-${HELM_VERSION}-linux-amd64.tar.gz \
24+
&& tar zxf helm-${HELM_VERSION}-linux-amd64.tar.gz --strip-components=1 \
2525
&& chmod ug+x helm
2626

2727
FROM alpine:latest
@@ -40,4 +40,5 @@ WORKDIR ${HOME}
4040
COPY --from=tool_downloader kubectl /usr/local/bin/kubectl
4141
COPY --from=tool_downloader oc /usr/local/bin/oc
4242
COPY --from=tool_downloader jsonnet /usr/local/bin/jsonnet
43+
COPY --from=tool_downloader helm /usr/local/bin/helm
4344
COPY --from=tool_downloader jb-linux-amd64 /usr/local/bin/jb

0 commit comments

Comments
 (0)