mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-13 15:11:19 -04:00
Merge pull request #262 from linuxserver/code-server-nodejs-focal
code-server-nodejs update to 14, detect version
This commit is contained in:
@@ -5,9 +5,10 @@ if ! dpkg -l | grep gnupg > /dev/null; then
|
|||||||
apt-get update && apt-get install -y gnupg
|
apt-get update && apt-get install -y gnupg
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
source /etc/lsb-release
|
||||||
[[ ! -f "/etc/apt/sources.list.d/nodesource.list" ]] && \
|
[[ ! -f "/etc/apt/sources.list.d/nodesource.list" ]] && \
|
||||||
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
|
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
|
||||||
echo 'deb https://deb.nodesource.com/node_12.x bionic main' \
|
echo "deb https://deb.nodesource.com/node_14.x ${DISTRIB_CODENAME} main" \
|
||||||
> /etc/apt/sources.list.d/nodesource.list
|
> /etc/apt/sources.list.d/nodesource.list
|
||||||
[[ ! -f "/etc/apt/sources.list.d/yarn.list" ]] && \
|
[[ ! -f "/etc/apt/sources.list.d/yarn.list" ]] && \
|
||||||
curl -s https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
|
curl -s https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
|
||||||
|
|||||||
Reference in New Issue
Block a user