|
1 | | -FROM alpine:3.15 as extract |
| 1 | +FROM alpine:3.16 as extract |
2 | 2 | RUN apk add -U curl ca-certificates |
3 | 3 | ARG ARCH |
4 | 4 | RUN curl 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 https://get.helm.sh/helm-v3.8.1-linux-${ARCH}.tar.gz | tar xvzf - --strip-components=1 -C /usr/bin |
| 6 | +RUN curl https://get.helm.sh/helm-v3.10.2-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.18-alpine3.15 as plugins |
| 10 | +FROM golang:1.19-alpine3.16 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.1.2.tar.gz | tar xvzf - --strip-components=1 -C /go/src/github.com/k3s-io/helm-set-status && \ |
16 | 16 | make -C /go/src/github.com/k3s-io/helm-set-status install |
17 | 17 | RUN mkdir -p /go/src/github.com/helm/helm-mapkubeapis && \ |
18 | | - curl -sL https://github.com/helm/helm-mapkubeapis/archive/refs/tags/v0.3.0.tar.gz | tar xvzf - --strip-components=1 -C /go/src/github.com/helm/helm-mapkubeapis && \ |
| 18 | + curl -sL https://github.com/helm/helm-mapkubeapis/archive/refs/tags/v0.3.2.tar.gz | tar xvzf - --strip-components=1 -C /go/src/github.com/helm/helm-mapkubeapis && \ |
19 | 19 | make -C /go/src/github.com/helm/helm-mapkubeapis && \ |
20 | 20 | mkdir -p /root/.local/share/helm/plugins/helm-mapkubeapis && \ |
21 | 21 | cp -vr /go/src/github.com/helm/helm-mapkubeapis/plugin.yaml \ |
22 | 22 | /go/src/github.com/helm/helm-mapkubeapis/bin \ |
23 | 23 | /go/src/github.com/helm/helm-mapkubeapis/config \ |
24 | 24 | /root/.local/share/helm/plugins/helm-mapkubeapis/ |
25 | 25 |
|
26 | | -FROM alpine:3.15 |
27 | | -RUN apk add -U --no-cache ca-certificates jq bash git && \ |
| 26 | +FROM alpine:3.16 |
| 27 | +ARG BUILDDATE |
| 28 | +LABEL buildDate=$BUILDDATE |
| 29 | +RUN apk --no-cache upgrade && \ |
| 30 | + apk add -U --no-cache ca-certificates jq bash git && \ |
28 | 31 | adduser -D -u 1000 -s /bin/bash klipper-helm |
29 | 32 | WORKDIR /home/klipper-helm |
30 | 33 | COPY --chown=1000:1000 --from=plugins /root/.local/share/helm/plugins/ /home/klipper-helm/.local/share/helm/plugins/ |
|
0 commit comments