diff --git a/Dockerfile b/Dockerfile index 2b73ca2..ee39836 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,21 +1,17 @@ -FROM alpine:3.9.3 +FROM alpine:3.19.1 ENV HELM_VERSION v2.17.0 -ENV HELM_DIFF_VERSION v3.5.0 +ENV HELM_DIFF_VERSION v3.9.5 +ENV HELM_S3_VERSION v0.16.0 ENV HELM_SECRET_VERSION v1.3.1 -ENV HELM_V3_VERSION v3.7.2 -ENV HELM_V3_SHA256 4ae30e48966aba5f807a4e140dad6736ee1a392940101e4d79ffb4ee86200a9e -ENV HELMFILE_VERSION 0.144.0 +ENV HELM_V3_VERSION v3.14.4 +ENV HELM_V3_SHA256 a5844ef2c38ef6ddf3b5a8f7d91e7e0e8ebc39a38bb3fc8013d629c1ef29c259 +ENV HELMFILE_VERSION 0.164.0 ENV AWS_IAM_AUTH_VERSION 0.6.2 -ENV VAULT_VERSION 1.3.1 -ENV AWS_CLI_VERSION 1.16.276 -ENV KUBECTL_VERSION v1.20.15 +ENV VAULT_VERSION 1.12.3 +ENV KUBECTL_VERSION v1.23.17 -RUN apk --no-cache add curl bash make openssh jq ca-certificates git gettext groff less \ - && wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://raw.githubusercontent.com/sgerrand/alpine-pkg-git-crypt/master/sgerrand.rsa.pub \ - && wget https://github.com/sgerrand/alpine-pkg-git-crypt/releases/download/0.6.0-r1/git-crypt-0.6.0-r1.apk \ - && apk add git-crypt-0.6.0-r1.apk \ - && rm git-crypt-0.6.0-r1.apk +RUN apk --no-cache add curl bash make openssh jq ca-certificates git git-crypt gettext groff less RUN curl -sLo /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl \ && chmod +x /usr/local/bin/kubectl @@ -45,6 +41,8 @@ RUN mkdir -p "$(helm2 home)/plugins" \ && helm2 plugin install https://github.com/databus23/helm-diff --version="${HELM_DIFF_VERSION}" \ && helm plugin install https://github.com/futuresimple/helm-secrets --version="${HELM_SECRET_VERSION}" \ && helm2 plugin install https://github.com/futuresimple/helm-secrets --version="${HELM_SECRET_VERSION}" \ + && helm plugin install https://github.com/hypnoglow/helm-s3 --version="${HELM_S3_VERSION}" \ + && helm2 plugin install https://github.com/hypnoglow/helm-s3 --version="${HELM_S3_VERSION}" \ && rm -rf /tmp/helm-diff /tmp/helm-diff.tgz RUN curl -L -o aws-iam-authenticator_${AWS_IAM_AUTH_VERSION}_linux_amd64 https://github.com/kubernetes-sigs/aws-iam-authenticator/releases/download/v${AWS_IAM_AUTH_VERSION}/aws-iam-authenticator_${AWS_IAM_AUTH_VERSION}_linux_amd64 \ @@ -55,12 +53,8 @@ RUN curl -L -o aws-iam-authenticator_${AWS_IAM_AUTH_VERSION}_linux_amd64 https:/ && mv aws-iam-authenticator_${AWS_IAM_AUTH_VERSION}_linux_amd64 /usr/local/bin/aws-iam-authenticator \ && chmod +x /usr/local/bin/aws-iam-authenticator -RUN apk -v --update add \ - python3 \ - && \ - pip3 install --upgrade pip && \ - pip3 install awscli==${AWS_CLI_VERSION} --upgrade && \ - rm /var/cache/apk/* +RUN apk -v --update --no-cache add \ + python3 py3-pip aws-cli COPY entrypoint.sh /entrypoint.sh