diff options
Diffstat (limited to 'packer/provision')
-rw-r--r-- | packer/provision/agl_dependencies.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packer/provision/agl_dependencies.sh b/packer/provision/agl_dependencies.sh index d26985c6..f36f152c 100644 --- a/packer/provision/agl_dependencies.sh +++ b/packer/provision/agl_dependencies.sh @@ -6,7 +6,7 @@ set -x sudo su -c "echo 'deb http://ftp.debian.org/debian jessie-backports main' >> /etc/apt/sources.list" sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 8B48AD6246925553 -# go +# go sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com F6BC817356A3D45E cat /etc/apt/sources.list @@ -118,4 +118,8 @@ EOF" sudo apt-get update sudo apt-get install golang-go +# Crossbuild standard go libraries for MacOS and Windows +sudo GOOS=darwin GOARCH=amd64 go install -v -a std +sudo GOOS=windows GOARCH=amd64 go install -v -a std + exit 0 |