diff --git a/oci/Dockerfile b/oci/Dockerfile index e9be3ad8..bc6fb12c 100644 --- a/oci/Dockerfile +++ b/oci/Dockerfile @@ -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}" \ @@ -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 @@ -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/'` \ @@ -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 @@ -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