Skip to content

Commit

Permalink
Update Golang version
Browse files Browse the repository at this point in the history
  • Loading branch information
jules-ch committed Oct 14, 2021
1 parent 2d4adf2 commit 0829dcf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ code --install-extension ms-azuretools.vscode-docker


## Install Go
wget https://golang.org/dl/go1.16.linux-amd64.tar.gz -O /tmp/go1.16.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf /tmp/go1.16.linux-amd64.tar.gz
wget https://golang.org/dl/go1.17.2.linux-amd64.tar.gz -O /tmp/go1.17.2.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf /tmp/go1.17.2.linux-amd64.tar.gz

if ! grep -qF "export PATH=\$PATH:/usr/local/go/bin" /etc/profile; then
sudo sh -c 'echo "export PATH=\$PATH:/usr/local/go/bin" >> /etc/profile'
Expand Down

0 comments on commit 0829dcf

Please sign in to comment.