File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ WORKDIR /workspace
10
10
RUN if [ "${TARGETARCH}" = "amd64" ]; then go install github.com/go-delve/delve/cmd/dlv@latest; fi
11
11
12
12
# Install Helm 3
13
- RUN curl -s https://get.helm.sh/helm-v3.11.1-linux-amd64 .tar.gz > helm3.tar.gz \
14
- && tar -zxvf helm3.tar.gz linux-amd64 /helm \
15
- && chmod +x linux-amd64 /helm \
16
- && mv linux-amd64 /helm $PWD/helm \
13
+ RUN curl -s https://get.helm.sh/helm-v3.11.1-${TARGETOS}-${TARGETARCH} .tar.gz > helm3.tar.gz \
14
+ && tar -zxvf helm3.tar.gz ${TARGETOS}-${TARGETARCH} /helm \
15
+ && chmod +x ${TARGETOS}-${TARGETARCH} /helm \
16
+ && mv ${TARGETOS}-${TARGETARCH} /helm $PWD/helm \
17
17
&& rm helm3.tar.gz \
18
- && rm -R linux-amd64
18
+ && rm -R ${TARGETOS}-${TARGETARCH}
19
19
20
20
# Copy the Go Modules manifests
21
21
COPY go.mod go.mod
You can’t perform that action at this time.
0 commit comments