Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CLI versions #328

Merged
merged 1 commit into from
Jan 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 9 additions & 7 deletions oci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,15 @@ FROM builder AS common-builder
ARG TARGETARCH

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

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

# https://www.terraform.io/downloads.html
ARG TERRAFORM_VERSION=1.5.3
# 1.5.x is the last OSS Terraform
# do not update major or minor!
ARG TERRAFORM_VERSION=1.5.7

RUN echo "KUBECTL_VERSION: ${KUBECTL_VERSION}" \
&& curl -LO https://dl.k8s.io/${KUBECTL_VERSION}/kubernetes-client-linux-${TARGETARCH}.tar.gz \
Expand Down Expand Up @@ -64,7 +66,7 @@ FROM builder AS aws-builder
ARG TARGETARCH

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

RUN mkdir -p /opt/aws/bin

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

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

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 @@ -102,7 +104,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.50.0
ARG AZURE_CLI_VERSION=2.55.0

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

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

RUN mkdir -p /opt/bin

Expand Down