build_gitea, nginx_build_script : bump golang/NodeJS version
This commit is contained in:
parent
163e239580
commit
9105b7233e
@ -14,7 +14,7 @@ sudo apt-get update && sudo apt-get install xz-utils wget git tar g++ make -y
|
|||||||
|
|
||||||
# NodeJS
|
# NodeJS
|
||||||
|
|
||||||
VERSION=v20.1.0
|
VERSION=v20.3.1
|
||||||
DISTRO=linux-x64
|
DISTRO=linux-x64
|
||||||
|
|
||||||
wget https://nodejs.org/dist/$VERSION/node-$VERSION-$DISTRO.tar.xz
|
wget https://nodejs.org/dist/$VERSION/node-$VERSION-$DISTRO.tar.xz
|
||||||
@ -25,7 +25,7 @@ export PATH=/usr/local/lib/nodejs/node-$VERSION-$DISTRO/bin:$PATH
|
|||||||
|
|
||||||
# Golang
|
# Golang
|
||||||
|
|
||||||
GO_VERSION=1.20.4
|
GO_VERSION=1.20.5
|
||||||
|
|
||||||
sudo unlink /usr/bin/go
|
sudo unlink /usr/bin/go
|
||||||
wget https://go.dev/dl/go$GO_VERSION.linux-amd64.tar.gz
|
wget https://go.dev/dl/go$GO_VERSION.linux-amd64.tar.gz
|
||||||
|
@ -6,9 +6,11 @@ curl -sSL https://raw.githubusercontent.com/minoplhy/scriptbox/main/nginx_build_
|
|||||||
mkdir nginx_scriptbox && cd nginx_scriptbox
|
mkdir nginx_scriptbox && cd nginx_scriptbox
|
||||||
|
|
||||||
# Install Golang
|
# Install Golang
|
||||||
|
GO_VERSION=1.20.5
|
||||||
|
|
||||||
unlink /usr/bin/go
|
unlink /usr/bin/go
|
||||||
wget https://go.dev/dl/go1.19.3.linux-amd64.tar.gz
|
wget https://go.dev/dl/go$GO_VERSION.linux-amd64.tar.gz
|
||||||
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.19.3.linux-amd64.tar.gz
|
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go$GO_VERSION.linux-amd64.tar.gz
|
||||||
export PATH=$PATH:/usr/local/go/bin
|
export PATH=$PATH:/usr/local/go/bin
|
||||||
ln -s /usr/local/go/bin /usr/bin/go
|
ln -s /usr/local/go/bin /usr/bin/go
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user