Skip to content

Commit

Permalink
Merge pull request #314 from kbst/update-cli-versions
Browse files Browse the repository at this point in the history
Update CLI versions
  • Loading branch information
pst authored Jul 20, 2023
2 parents 0308f34 + 7f6daad commit d31478c
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions oci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,19 @@ FROM builder AS common-builder
ARG TARGETARCH

# https://github.com/kubernetes/kubernetes/releases
ARG KUBECTL_VERSION=v1.26.3
ARG KUBECTL_VERSION=v1.27.4

# https://github.com/kubernetes-sigs/kustomize/releases
ARG KUSTOMIZE_VERSION=v5.0.1
ARG KUSTOMIZE_VERSION=v5.1.0

# https://www.terraform.io/downloads.html
ARG TERRAFORM_VERSION=1.4.4
ARG TERRAFORM_VERSION=1.5.3

RUN echo "KUBECTL_VERSION: ${KUBECTL_VERSION}" \
&& curl -Lo /opt/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/${TARGETARCH}/kubectl \
&& chmod +x /opt/bin/kubectl \
&& curl -LO https://dl.k8s.io/${KUBECTL_VERSION}/kubernetes-client-linux-${TARGETARCH}.tar.gz \
&& tar -xf kubernetes-client-linux-${TARGETARCH}.tar.gz \
&& mv kubernetes/client/bin/kubectl* /opt/bin/ \
&& chmod +x /opt/bin/kubectl* \
&& /opt/bin/kubectl version --client=true

RUN echo "KUSTOMIZE_VERSION: ${KUSTOMIZE_VERSION}" \
Expand All @@ -62,7 +64,7 @@ FROM builder AS aws-builder
ARG TARGETARCH

# https://github.com/aws/aws-cli/blob/v2/CHANGELOG.rst
ARG AWS_CLI_VERSION=2.11.11
ARG AWS_CLI_VERSION=2.13.2

RUN mkdir -p /opt/aws/bin

Expand All @@ -82,7 +84,7 @@ FROM builder AS gcp-builder
ARG TARGETARCH

# https://cloud.google.com/sdk/docs/release-notes
ARG GOOGLE_CLOUD_SDK_VERSION=425.0.0
ARG GOOGLE_CLOUD_SDK_VERSION=439.0.0

RUN echo "GOOGLE_CLOUD_SDK_VERSION: ${GOOGLE_CLOUD_SDK_VERSION}" \
&& arch=`echo ${TARGETARCH} | sed -e 's/amd64/x86_64/' -e 's/arm64/arm/'` \
Expand All @@ -100,7 +102,7 @@ RUN /opt/google/bin/gcloud components install gke-gcloud-auth-plugin
FROM builder AS azure-builder

# https://docs.microsoft.com/en-us/cli/azure/release-notes-azure-cli?tabs=azure-cli
ARG AZURE_CLI_VERSION=2.47.0
ARG AZURE_CLI_VERSION=2.50.0

RUN apt-get update && apt-get install -y \
libffi-dev
Expand All @@ -123,7 +125,7 @@ FROM builder as kind-builder
ARG TARGETARCH

# https://docs.docker.com/engine/release-notes/
ARG DOCKER_CLI_VERSION=23.0.3
ARG DOCKER_CLI_VERSION=24.0.4

RUN mkdir -p /opt/bin

Expand Down

0 comments on commit d31478c

Please sign in to comment.