Add Golang 1.9 Images

This commit is contained in:
Andrew Newdigate 2017-12-15 21:30:01 +00:00 committed by Marin Jankovski
parent e358e2c0fb
commit 6cc59cc0ac
2 changed files with 17 additions and 13 deletions

View file

@ -4,12 +4,16 @@ set -e
IFS=$'\n\t'
function print_golang_args() {
GOLANG_VERSION=$1
case "$GOLANG_VERSION" in
case "$1" in
1.8)
GOLANG_VERSION=1.8
GOLANG_DOWNLOAD_SHA256=253ab94104ee3923e228a2cb2116e5e462ad3ebaeea06ff04463479d7f12d27ca
;;
1.9)
GOLANG_VERSION=1.9.2
GOLANG_DOWNLOAD_SHA256=de874549d9a8d8d8062be05808509c09a88a248e77ec14eb77453530829ac02b
;;
*) echo "Unknown golang version $1"; exit 1;
esac
@ -22,7 +26,7 @@ function print_chrome_args() {
60|60.0) CHROME_VERSION=60.0.3112.90-1 ;;
61|61.0) CHROME_VERSION=61.0.3163.100-1 ;;
62|62.0) CHROME_VERSION=62.0.3202.89-1 ;;
63|63.0) CHROME_VERSION=63.0.3239.84-1 ;;
63|63.0) CHROME_VERSION=63.0.3239.108-1 ;;
*) echo "Unknown chrome version $1"; exit 1;
esac
printf -- "--build-arg CHROME_VERSION=%s " "$CHROME_VERSION"