From 2833b31b904aec163382ec88d004c1ecaade797c Mon Sep 17 00:00:00 2001 From: Haitao Pan Date: Thu, 7 Mar 2024 20:01:44 +0800 Subject: [PATCH] base/alpine-chart-builder/Dockerfile: update --- oci/base/alpine-chart-builder/Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/oci/base/alpine-chart-builder/Dockerfile b/oci/base/alpine-chart-builder/Dockerfile index a02b61c..8435a8f 100644 --- a/oci/base/alpine-chart-builder/Dockerfile +++ b/oci/base/alpine-chart-builder/Dockerfile @@ -1,6 +1,7 @@ FROM alpine:latest -MAINTAINER Haitao Pan manbuzhe2008@gmail.com +MAINTAINER +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