docker image: install the latest lts version of nodejs
This commit is contained in:
parent
1e03f5d94c
commit
ee8feaeb36
@ -129,9 +129,6 @@ PACKAGES+=" lld"
|
||||
# Needed by wrk.
|
||||
PACKAGES+=" luajit"
|
||||
|
||||
# Needed by gitea.
|
||||
PACKAGES+=" npm"
|
||||
|
||||
# Needed by libduktape (2.5.0 still uses python2 unfortunately)
|
||||
PACKAGES+=" python-yaml"
|
||||
|
||||
@ -236,6 +233,10 @@ curl -L --output /tmp/py2-get-pip.py https://bootstrap.pypa.io/pip/2.7/get-pip.p
|
||||
$SUDO python2 /tmp/py2-get-pip.py
|
||||
rm -f /tmp/py2-get-pip.py
|
||||
|
||||
# Install Nodejs. Needed by Gitea.
|
||||
curl -fsSL https://deb.nodesource.com/setup_lts.x | $SUDO bash -
|
||||
$SUDO apt install -y nodejs
|
||||
|
||||
$SUDO locale-gen --purge en_US.UTF-8
|
||||
echo -e 'LANG="en_US.UTF-8"\nLANGUAGE="en_US:en"\n' | $SUDO tee -a /etc/default/locale
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user