Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump helm to 3.16.1; bump plugins to latest #88

Merged
merged 1 commit into from
Oct 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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