mirror of https://github.com/tteck/Proxmox.git
Update Golang Version to 1.18.3
This commit is contained in:
parent
1a79970d42
commit
71c5193ed9
|
@ -88,8 +88,8 @@ apt-get install -y nodejs &>/dev/null
|
||||||
msg_ok "Installed Node.js"
|
msg_ok "Installed Node.js"
|
||||||
|
|
||||||
msg_info "Installing Golang"
|
msg_info "Installing Golang"
|
||||||
wget https://golang.org/dl/go1.18.1.linux-amd64.tar.gz &>/dev/null
|
wget https://golang.org/dl/go1.18.3.linux-amd64.tar.gz &>/dev/null
|
||||||
tar -xzf go1.18.1.linux-amd64.tar.gz -C /usr/local &>/dev/null
|
tar -xzf go1.18.3.linux-amd64.tar.gz -C /usr/local &>/dev/null
|
||||||
ln -s /usr/local/go/bin/go /usr/local/bin/go &>/dev/null
|
ln -s /usr/local/go/bin/go /usr/local/bin/go &>/dev/null
|
||||||
go install github.com/tianon/gosu@latest &>/dev/null
|
go install github.com/tianon/gosu@latest &>/dev/null
|
||||||
go install golang.org/x/tools/cmd/goimports@latest &>/dev/null
|
go install golang.org/x/tools/cmd/goimports@latest &>/dev/null
|
||||||
|
|
Loading…
Reference in New Issue