Docker: Upgrade Go from 1.17.1 to 1.17.2
This commit is contained in:
parent
20658001d5
commit
106eb10cb0
1 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
set -e
|
||||
|
||||
GOLANG_VERSION=1.17.1
|
||||
GOLANG_VERSION=1.17.2
|
||||
|
||||
if [[ -z $1 ]]; then
|
||||
echo "architecture required: amd64, arm64, or arm" 1>&2
|
||||
|
@ -11,13 +11,13 @@ else
|
|||
set -eux;
|
||||
if [[ $1 == "amd64" ]]; then
|
||||
URL="https://golang.org/dl/go${GOLANG_VERSION}.linux-$1.tar.gz"
|
||||
CHECKSUM="dab7d9c34361dc21ec237d584590d72500652e7c909bf082758fb63064fca0ef *go.tgz"
|
||||
CHECKSUM="f242a9db6a0ad1846de7b6d94d507915d14062660616a61ef7c808a76e4f1676 *go.tgz"
|
||||
elif [[ $1 == "arm64" ]]; then
|
||||
URL="https://golang.org/dl/go${GOLANG_VERSION}.linux-$1.tar.gz"
|
||||
CHECKSUM="53b29236fa03ed862670a5e5e2ab2439a2dc288fe61544aa392062104ac0128c *go.tgz"
|
||||
CHECKSUM="a5a43c9cdabdb9f371d56951b14290eba8ce2f9b0db48fb5fc657943984fd4fc *go.tgz"
|
||||
elif [[ $1 == "arm" ]]; then
|
||||
URL="https://golang.org/dl/go${GOLANG_VERSION}.linux-armv6l.tar.gz"
|
||||
CHECKSUM="ed3e4dbc9b80353f6482c441d65b51808290e94ff1d15d56da5f4a7be7353758 *go.tgz"
|
||||
CHECKSUM="04d16105008230a9763005be05606f7eb1c683a3dbf0fbfed4034b23889cb7f2 *go.tgz"
|
||||
else
|
||||
echo "unsupported architecture" 1>&2
|
||||
exit 1
|
||||
|
|
Loading…
Reference in a new issue