mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 18:15:42 +01:00
14 lines
419 B
Bash
Executable file
14 lines
419 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
# This script prepares a naked Ubuntu 20.04 LTS amd64
|
|
# for the csaf_distribution integration tests
|
|
# by installing the required packages.
|
|
|
|
|
|
apt install -y make bash sed tar git nginx fcgiwrap gnutls-bin
|
|
|
|
# Install Go from binary distribution
|
|
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
|