mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-03-23 00:05:28 +08:00
Merge pull request #9 from aptalca/code-server-nodejs-fix
code-server: nodejs check/add gnupg
This commit is contained in:
commit
4eb044e637
@ -1,6 +1,9 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
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" ]] && \
|
||||
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
|
||||
echo 'deb https://deb.nodesource.com/node_12.x bionic main' \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user