mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 16:58:27 -04:00
Merge pull request #9 from aptalca/code-server-nodejs-fix
code-server: nodejs check/add gnupg
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
echo "**** installing nodejs dev environment ****"
|
echo "**** installing nodejs dev environment ****"
|
||||||
|
if ! dpkg -l | grep gnupg > /dev/null; then
|
||||||
|
apt-get update && apt-get install -y gnupg
|
||||||
|
fi
|
||||||
[[ ! -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_12.x bionic main' \
|
||||||
|
|||||||
Reference in New Issue
Block a user