Sign inSign up

codivdev/helm3

By codivdev

•Updated almost 5 years ago

alpine + helm3 + helm push plugin

Image
0

466

codivdev/helm3 repository overview

Dockerfile:

FROM alpine:3

# variable "VERSION" must be passed as docker environment variables during the image build
# docker build --no-cache --build-arg VERSION=3.6.3 -t alpine/helm:3.6.3 .

ARG VERSION

# ENV BASE_URL="https://storage.googleapis.com/kubernetes-helm"
ENV BASE_URL="https://get.helm.sh"

RUN case `uname -m` in \
        x86_64) ARCH=amd64; ;; \
        armv7l) ARCH=arm; ;; \
        aarch64) ARCH=arm64; ;; \
        ppc64le) ARCH=ppc64le; ;; \
        s390x) ARCH=s390x; ;; \
        *) echo "un-supported arch, exit ..."; exit 1; ;; \
    esac && \
    apk add --update --no-cache wget git jq curl && \
    wget ${BASE_URL}/helm-v${VERSION}-linux-${ARCH}.tar.gz -O - | tar -xz && \
    mv linux-${ARCH}/helm /usr/bin/helm && \
    chmod +x /usr/bin/helm && \
    rm -rf linux-${ARCH}

RUN chmod +x /usr/bin/helm
RUN helm plugin install https://github.com/chartmuseum/helm-push.git

WORKDIR /apps

Tag summary

Content type

Image

Digest

Size

58.9 MB

Last updated

almost 5 years ago

docker pull codivdev/helm3:3.6.3