diff --git a/Dockerfile b/Dockerfile index dd84195..5b42539 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,16 +1,15 @@ FROM alpine:3.13 -ARG KUBECTL_VERSION="1.21.2" +ARG AWSCLI_VERSION="1.23.13" +ARG HELM_VERSION="3.8.0" +ARG KUBECTL_VERSION="1.24.0" RUN apk add py-pip curl wget ca-certificates git bash jq gcc alpine-sdk -RUN pip install 'awscli==1.22.26' -RUN curl -L -o /usr/bin/kubectl https://amazon-eks.s3.us-west-2.amazonaws.com/1.21.2/2021-07-05/bin/linux/amd64/kubectl +RUN pip install "awscli==${AWSCLI_VERSION}" +RUN curl -L -o /usr/bin/kubectl https://dl.k8s.io/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl RUN chmod +x /usr/bin/kubectl -RUN curl -o /usr/bin/aws-iam-authenticator https://amazon-eks.s3.us-west-2.amazonaws.com/1.21.2/2021-07-05/bin/linux/amd64/aws-iam-authenticator -RUN chmod +x /usr/bin/aws-iam-authenticator - -RUN wget https://get.helm.sh/helm-v3.8.0-linux-amd64.tar.gz -O - | tar -xzO linux-amd64/helm > /usr/local/bin/helm +RUN wget https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz -O - | tar -xzO linux-amd64/helm > /usr/local/bin/helm RUN chmod +x /usr/local/bin/helm COPY entrypoint.sh /entrypoint.sh