Skip to content

Commit

Permalink
Merge pull request #29 from Pluies/master
Browse files Browse the repository at this point in the history
Bump aws-cli, kubectl
  • Loading branch information
Konstantinos Livieratos authored May 17, 2022
2 parents 6551fcf + dfd0b6e commit bd4cd91
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit bd4cd91

Please sign in to comment.