base/alpine-chart-builder/Dockerfile: update
This commit is contained in:
parent
f3340c1a8d
commit
2833b31b90
@ -1,6 +1,7 @@
|
||||
FROM alpine:latest
|
||||
MAINTAINER Haitao Pan manbuzhe2008@gmail.com
|
||||
MAINTAINER <manbuzhe2008@gmail.com>
|
||||
|
||||
FROM alpine:latest
|
||||
ENV VERSION=3.11.1
|
||||
ENV BASE_URL="https://get.helm.sh"
|
||||
ENV KUBECTL_VERSION="v1.21.0"
|
||||
@ -14,8 +15,8 @@ RUN case `uname -m` in \
|
||||
apk add --update --no-cache openssh bash wget make curl jq unzip zip git ca-certificates && \
|
||||
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} && \
|
||||
chmod +x /usr/bin/helm && \
|
||||
rm -rf linux-${ARCH} && \
|
||||
chmod 755 /usr//bin/helm && \
|
||||
helm plugin install https://github.com/chartmuseum/helm-push.git && \
|
||||
helm plugin install https://github.com/belitre/helm-push-artifactory-plugin.git --version v1.0.2 && \
|
||||
@ -23,7 +24,8 @@ RUN case `uname -m` in \
|
||||
wget -qO /usr/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/${ARCH}/kubectl && \
|
||||
chmod +x /usr/bin/kubectl && \
|
||||
wget -qO /usr/bin/helmfile https://github.com/roboll/helmfile/releases/download/${HELMFILE_VERSION}/helmfile_linux_${ARCH} && \
|
||||
chmod +x /usr/bin/helmfile
|
||||
chmod +x /usr/bin/helmfile && \
|
||||
helmfile init -q
|
||||
|
||||
#ADD ca.crt /usr/share/ca-certificates/mozilla/Lets_Encrypt_ca.crt
|
||||
#RUN echo "mozilla/Lets_Encrypt_ca.crt" >> /etc/ca-certificates.conf && update-ca-certificates
|
||||
|
||||
Loading…
Reference in New Issue
Block a user