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:
parent
dd48fc8b6c
commit
05efc82bec
1 changed files with 3 additions and 2 deletions
|
|
@ -9,5 +9,6 @@ set -e
|
||||||
apt install -y make bash sed tar git nginx fcgiwrap gnutls-bin
|
apt install -y make bash sed tar git nginx fcgiwrap gnutls-bin
|
||||||
|
|
||||||
# Install Go from binary distribution
|
# Install Go from binary distribution
|
||||||
curl -O https://storage.googleapis.com/golang/go1.18.linux-amd64.tar.gz
|
latest_go="$(curl https://go.dev/VERSION\?m=text).linux-amd64.tar.gz"
|
||||||
tar -C /usr/local -xzf go1.18.linux-amd64.tar.gz
|
curl -O https://dl.google.com/go/$latest_go
|
||||||
|
tar -C /usr/local -xzf $latest_go
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue