Skip to content

Commit bbf9df2

Browse files
committed
Bump helm version and bump plugin deps when building
Signed-off-by: Brad Davidson <[email protected]>
1 parent 4461ac6 commit bbf9df2

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

package/Dockerfile

+10-4
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,26 @@ RUN apk add -U curl ca-certificates
33
ARG ARCH
44
RUN curl -sL https://get.helm.sh/helm-v2.17.0-linux-${ARCH}.tar.gz | tar xvzf - --strip-components=1 -C /usr/bin
55
RUN mv /usr/bin/helm /usr/bin/helm_v2
6-
RUN curl -sL https://get.helm.sh/helm-v3.15.0-linux-${ARCH}.tar.gz | tar xvzf - --strip-components=1 -C /usr/bin
6+
RUN curl -sL https://get.helm.sh/helm-v3.15.3-linux-${ARCH}.tar.gz | tar xvzf - --strip-components=1 -C /usr/bin
77
RUN mv /usr/bin/helm /usr/bin/helm_v3
88
COPY entry /usr/bin/
99

10-
FROM golang:1.22-alpine3.19 as plugins
10+
FROM golang:1.22-alpine3.20 as plugins
1111
RUN apk add -U curl ca-certificates build-base binutils-gold
1212
ARG ARCH
1313
COPY --from=extract /usr/bin/helm_v3 /usr/bin/helm
1414
RUN mkdir -p /go/src/github.com/k3s-io/helm-set-status && \
1515
curl -sL https://github.com/k3s-io/helm-set-status/archive/refs/tags/v0.2.0.tar.gz | tar xvzf - --strip-components=1 -C /go/src/github.com/k3s-io/helm-set-status && \
16-
make -C /go/src/github.com/k3s-io/helm-set-status install
16+
cd /go/src/github.com/k3s-io/helm-set-status && \
17+
go get -u ./... && \
18+
go mod tidy && \
19+
make install
1720
RUN mkdir -p /go/src/github.com/helm/helm-mapkubeapis && \
1821
curl -sL https://github.com/k3s-io/helm-mapkubeapis/archive/refs/tags/v0.4.1-k3s1.tar.gz | tar xvzf - --strip-components=1 -C /go/src/github.com/helm/helm-mapkubeapis && \
19-
make -C /go/src/github.com/helm/helm-mapkubeapis && \
22+
cd /go/src/github.com/helm/helm-mapkubeapis && \
23+
go get -u ./... && \
24+
go mod tidy && \
25+
make && \
2026
mkdir -p /root/.local/share/helm/plugins/helm-mapkubeapis && \
2127
cp -vr /go/src/github.com/helm/helm-mapkubeapis/plugin.yaml \
2228
/go/src/github.com/helm/helm-mapkubeapis/bin \

0 commit comments

Comments
 (0)