Skip to content

Commit

Permalink
Bump helm to 3.16.1; bump plugins to latest
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Wayne <[email protected]>
Signed-off-by: Brad Davidson <[email protected]>
  • Loading branch information
cwayne18 authored and brandond committed Oct 8, 2024
1 parent 14eb13b commit 314fed6
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions package/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
FROM alpine:3.20 as extract
RUN apk add -U curl ca-certificates
ARG ARCH
RUN curl -sL https://get.helm.sh/helm-v3.15.3-linux-${ARCH}.tar.gz | tar xvzf - --strip-components=1 -C /usr/bin
RUN curl -sL https://get.helm.sh/helm-v3.16.1-linux-${ARCH}.tar.gz | tar xvzf - --strip-components=1 -C /usr/bin
COPY entry /usr/bin/

FROM golang:1.23-alpine3.20 as plugins
RUN apk add -U curl ca-certificates build-base binutils-gold
ARG ARCH
COPY --from=extract /usr/bin/helm /usr/bin/helm
RUN mkdir -p /go/src/github.com/k3s-io/helm-set-status && \
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 && \
curl -sL https://github.com/k3s-io/helm-set-status/archive/refs/tags/v0.3.0.tar.gz | tar xvzf - --strip-components=1 -C /go/src/github.com/k3s-io/helm-set-status && \
cd /go/src/github.com/k3s-io/helm-set-status && \
go get -u ./... && \
go mod tidy && \
make install
RUN mkdir -p /go/src/github.com/helm/helm-mapkubeapis && \
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 && \
curl -sL https://github.com/helm/helm-mapkubeapis/archive/refs/tags/v0.5.2.tar.gz | tar xvzf - --strip-components=1 -C /go/src/github.com/helm/helm-mapkubeapis && \
cd /go/src/github.com/helm/helm-mapkubeapis && \
go get -u ./... && \
go mod tidy && \
make && \
mkdir -p /root/.local/share/helm/plugins/helm-mapkubeapis && \
cp -vr /go/src/github.com/helm/helm-mapkubeapis/plugin.yaml \
Expand Down

0 comments on commit 314fed6

Please sign in to comment.