diff --git a/build/container/Dockerfile.centos b/build/container/Dockerfile.centos index 3250c4255..96b943eae 100644 --- a/build/container/Dockerfile.centos +++ b/build/container/Dockerfile.centos @@ -31,7 +31,7 @@ RUN set -eux; \ case "${arch##*-}" in \ x86_64 | amd64) ARCH='amd64' ;; \ ppc64el | ppc64le) ARCH='ppc64le' ;; \ - aarch64) ARCH='arm64' ;; \ + aarch64 | arm64) ARCH='arm64' ;; \ *) echo "unsupported architecture" ; exit 1 ;; \ esac; \ wget -nv -O - https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz \ diff --git a/build/container/Dockerfile.ubuntu b/build/container/Dockerfile.ubuntu index 9d8108b4e..dd50f883d 100644 --- a/build/container/Dockerfile.ubuntu +++ b/build/container/Dockerfile.ubuntu @@ -31,7 +31,7 @@ RUN set -eux; \ case "${arch##*-}" in \ x86_64 | amd64) ARCH='amd64' ;; \ ppc64el | ppc64le) ARCH='ppc64le' ;; \ - aarch64) ARCH='arm64' ;; \ + aarch64 | arm64) ARCH='arm64' ;; \ *) echo "unsupported architecture" ; exit 1 ;; \ esac; \ wget -nv -O - https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz \ diff --git a/docker/Dockerfile.debian b/docker/Dockerfile.debian index df576af7c..4b3c535f5 100644 --- a/docker/Dockerfile.debian +++ b/docker/Dockerfile.debian @@ -22,7 +22,7 @@ RUN set -eux; \ case "${arch##*-}" in \ x86_64 | amd64) ARCH='amd64' ;; \ ppc64el | ppc64le) ARCH='ppc64le' ;; \ - aarch64) ARCH='arm64' ;; \ + aarch64 | arm64) ARCH='arm64' ;; \ *) echo "unsupported architecture" ; exit 1 ;; \ esac; \ wget -nv -O - https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz \ diff --git a/docker/Dockerfile.opensuse-leap b/docker/Dockerfile.opensuse-leap index 3de7a3923..f1ce31ecc 100644 --- a/docker/Dockerfile.opensuse-leap +++ b/docker/Dockerfile.opensuse-leap @@ -15,7 +15,7 @@ RUN set -eux; \ case "${arch##*-}" in \ x86_64 | amd64) ARCH='amd64' ;; \ ppc64el | ppc64le) ARCH='ppc64le' ;; \ - aarch64) ARCH='arm64' ;; \ + aarch64 | arm64) ARCH='arm64' ;; \ *) echo "unsupported architecture"; exit 1 ;; \ esac; \ wget -nv -O - https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz \ diff --git a/docker/Dockerfile.rpm-yum b/docker/Dockerfile.rpm-yum index 4f3e248f4..472c3384a 100644 --- a/docker/Dockerfile.rpm-yum +++ b/docker/Dockerfile.rpm-yum @@ -33,7 +33,7 @@ RUN set -eux; \ case "${arch##*-}" in \ x86_64 | amd64) ARCH='amd64' ;; \ ppc64el | ppc64le) ARCH='ppc64le' ;; \ - aarch64) ARCH='arm64' ;; \ + aarch64 | arm64) ARCH='arm64' ;; \ *) echo "unsupported architecture"; exit 1 ;; \ esac; \ wget -nv -O - https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz \ diff --git a/docker/Dockerfile.ubuntu b/docker/Dockerfile.ubuntu index 674d74a4f..cfa930bb6 100644 --- a/docker/Dockerfile.ubuntu +++ b/docker/Dockerfile.ubuntu @@ -20,7 +20,7 @@ RUN set -eux; \ case "${arch##*-}" in \ x86_64 | amd64) ARCH='amd64' ;; \ ppc64el | ppc64le) ARCH='ppc64le' ;; \ - aarch64) ARCH='arm64' ;; \ + aarch64 | arm64) ARCH='arm64' ;; \ *) echo "unsupported architecture" ; exit 1 ;; \ esac; \ wget -nv -O - https://storage.googleapis.com/golang/go${GOLANG_VERSION}.linux-${ARCH}.tar.gz \ diff --git a/versions.mk b/versions.mk index a624a4211..7e599a40e 100644 --- a/versions.mk +++ b/versions.mk @@ -28,7 +28,7 @@ NVIDIA_DOCKER_VERSION := 2.14.0 NVIDIA_CONTAINER_RUNTIME_VERSION := 3.14.0 CUDA_VERSION := 12.3.1 -GOLANG_VERSION := 1.20.5 +GOLANG_VERSION := 1.21.5 BUILDIMAGE_TAG ?= devel-go$(GOLANG_VERSION) BUILDIMAGE ?= ghcr.io/nvidia/k8s-test-infra:$(BUILDIMAGE_TAG)