diff --git a/docker/scripts/install-go.sh b/docker/scripts/install-go.sh index 0c7f2da3a..da1b66877 100755 --- a/docker/scripts/install-go.sh +++ b/docker/scripts/install-go.sh @@ -10,13 +10,13 @@ if [[ -z $1 ]]; then else set -eux; if [[ $1 == "amd64" ]]; then - URL="https://golang.org/dl/go${GOLANG_VERSION}.linux-$1.tar.gz" + URL="https://go.dev/dl/go${GOLANG_VERSION}.linux-$1.tar.gz" CHECKSUM="bd78114b0d441b029c8fe0341f4910370925a4d270a6a590668840675b0c653e *go.tgz" elif [[ $1 == "arm64" ]]; then - URL="https://golang.org/dl/go${GOLANG_VERSION}.linux-$1.tar.gz" + URL="https://go.dev/dl/go{GOLANG_VERSION}.linux-$1.tar.gz" CHECKSUM="6f95ce3da40d9ce1355e48f31f4eb6508382415ca4d7413b1e7a3314e6430e7e *go.tgz" elif [[ $1 == "arm" ]]; then - URL="https://golang.org/dl/go${GOLANG_VERSION}.linux-armv6l.tar.gz" + URL="https://go.dev/dl/go${GOLANG_VERSION}.linux-armv6l.tar.gz" CHECKSUM="aa1fb6c53b4fe72f159333362a10aca37ae938bde8adc9c6eaf2a8e87d1e47de *go.tgz" else echo "unsupported architecture" 1>&2