Docker: Update download URL in install-go.sh script
This commit is contained in:
parent
05087b6d1b
commit
4b43af93fe
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue