1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00

Improve scripts/prepareUbuntuInstanceForITests.sh

* Add code to fetch the lastest Go binary version.
This commit is contained in:
Sascha L. Teichmann 2022-04-21 16:39:56 +02:00 committed by GitHub
parent dd48fc8b6c
commit 05efc82bec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,5 +9,6 @@ set -e
apt install -y make bash sed tar git nginx fcgiwrap gnutls-bin
# Install Go from binary distribution
curl -O https://storage.googleapis.com/golang/go1.18.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.18.linux-amd64.tar.gz
latest_go="$(curl https://go.dev/VERSION\?m=text).linux-amd64.tar.gz"
curl -O https://dl.google.com/go/$latest_go
tar -C /usr/local -xzf $latest_go