Skip to content

Commit

Permalink
Merge pull request #301 from kbst/cli-versions
Browse files Browse the repository at this point in the history
Update CLI versions in Dockerfile
  • Loading branch information
pst authored Feb 4, 2023
2 parents 395fc91 + 5c662ca commit 1f64cf5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions oci/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#
#
# Image versions
ARG BASE_BUILDER=python:3.9
ARG BASE_IMAGE=python:3.9-slim
ARG BASE_BUILDER=python:3.11
ARG BASE_IMAGE=python:3.11-slim


#
Expand All @@ -24,13 +24,13 @@ RUN mkdir -p /opt/bin
FROM builder AS common-builder

# https://github.com/kubernetes/kubernetes/releases
ARG KUBECTL_VERSION=v1.25.4
ARG KUBECTL_VERSION=v1.26.1

# https://github.com/kubernetes-sigs/kustomize/releases
ARG KUSTOMIZE_VERSION=v4.5.7
ARG KUSTOMIZE_VERSION=v5.0.0

# https://www.terraform.io/downloads.html
ARG TERRAFORM_VERSION=1.3.5
ARG TERRAFORM_VERSION=1.3.7

RUN echo "KUBECTL_VERSION: ${KUBECTL_VERSION}" \
&& curl -Lo /opt/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl \
Expand Down Expand Up @@ -58,7 +58,7 @@ COPY oci/entrypoint oci/entrypoint_user /opt/bin/
FROM builder AS aws-builder

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

RUN mkdir -p /opt/aws/bin

Expand All @@ -75,7 +75,7 @@ RUN echo "AWS_CLI_VERSION: ${AWS_CLI_VERSION}" \
FROM builder AS gcp-builder

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

RUN echo "GOOGLE_CLOUD_SDK_VERSION: ${GOOGLE_CLOUD_SDK_VERSION}" \
&& curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-${GOOGLE_CLOUD_SDK_VERSION}-linux-x86_64.tar.gz \
Expand All @@ -90,7 +90,7 @@ RUN echo "GOOGLE_CLOUD_SDK_VERSION: ${GOOGLE_CLOUD_SDK_VERSION}" \
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.42.0
ARG AZURE_CLI_VERSION=2.44.1

RUN apt-get update && apt-get install -y \
libffi-dev
Expand All @@ -111,7 +111,7 @@ RUN echo "AZURE_CLI_VERSION: ${AZURE_CLI_VERSION}" \
FROM builder as kind-builder

# https://docs.docker.com/engine/release-notes/
ARG DOCKER_CLI_VERSION=20.10.21
ARG DOCKER_CLI_VERSION=23.0.0

RUN mkdir -p /opt/bin

Expand Down

0 comments on commit 1f64cf5

Please sign in to comment.