Skip to content

Commit

Permalink
docker image for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
khaledyoussef24 committed Jul 10, 2023
1 parent 5e7d5e2 commit c83903f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions integrationtests/testingMachine
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@ gpg --export 569130E8CA20FBC4CB3FDE555898470A764B32C9 | sudo apt-key add -
echo 'deb http://neilalexander.s3.dualstack.eu-west-2.amazonaws.com/deb/ debian yggdrasil' | sudo tee /etc/apt/sources.list.d/yggdrasil.list
sudo apt-get update
sudo apt-get install yggdrasil
sudo systemctl enable yggdrasil
PEERS=$(curl https://raw.githubusercontent.com/threefoldtech/zos-config/main/development.json | jq '.yggdrasil.peers[]' -r | sed 's/\//\\\//g' | sed -z 's/\n/\\n/g')
sudo sed -i -- 's/Peers\: \[\]/Peers: [\n'"$PEERS"']/g' /etc/yggdrasil.conf
sudo apt install make
sudo apt update
wget https://go.dev/dl/go1.20.1.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.20.1.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
rm -rf go1.20.1.linux-amd64.tar.gz
rm -rf go1.20.1.linux-amd64
rm -rf go1.20.1.linux-amd64.tar.gz

0 comments on commit c83903f

Please sign in to comment.