Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit fd438ee

Browse files
Fixed multi-arch for helm
1 parent 2f2182d commit fd438ee

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tools/helm/Dockerfile.template

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
#syntax=docker/dockerfile:1.5.1
22

33
ARG ref=main
4-
FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
54

5+
FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
66
ARG name
77
ARG version
8-
98
RUN <<EOF
109
curl --silent --location --fail "https://get.helm.sh/helm-v${version}-linux-${alt_arch}.tar.gz" \
1110
| tar --extract --gzip --directory="${prefix}${target}/bin" --strip-components=1 --no-same-owner \
12-
linux-amd64/helm
11+
linux-${alt_arch}/helm
1312
"${prefix}${target}/bin/helm" completion bash >"${prefix}${target}/share/bash-completion/completions/helm"
1413
"${prefix}${target}/bin/helm" completion fish >"${prefix}${target}/share/fish/vendor_completions.d/helm.fish"
1514
"${prefix}${target}/bin/helm" completion zsh >"${prefix}${target}/share/zsh/vendor-completions/_helm"
16-
EOF
15+
EOF

0 commit comments

Comments
 (0)