File tree 1 file changed +10
-4
lines changed
1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -3,20 +3,26 @@ RUN apk add -U curl ca-certificates
3
3
ARG ARCH
4
4
RUN curl -sL https://get.helm.sh/helm-v2.17.0-linux-${ARCH}.tar.gz | tar xvzf - --strip-components=1 -C /usr/bin
5
5
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
7
7
RUN mv /usr/bin/helm /usr/bin/helm_v3
8
8
COPY entry /usr/bin/
9
9
10
- FROM golang:1.22-alpine3.19 as plugins
10
+ FROM golang:1.22-alpine3.20 as plugins
11
11
RUN apk add -U curl ca-certificates build-base binutils-gold
12
12
ARG ARCH
13
13
COPY --from=extract /usr/bin/helm_v3 /usr/bin/helm
14
14
RUN mkdir -p /go/src/github.com/k3s-io/helm-set-status && \
15
15
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
17
20
RUN mkdir -p /go/src/github.com/helm/helm-mapkubeapis && \
18
21
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 && \
20
26
mkdir -p /root/.local/share/helm/plugins/helm-mapkubeapis && \
21
27
cp -vr /go/src/github.com/helm/helm-mapkubeapis/plugin.yaml \
22
28
/go/src/github.com/helm/helm-mapkubeapis/bin \
You can’t perform that action at this time.
0 commit comments