We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d1454d2 + 3aea9b3 commit 4eb044eCopy full SHA for 4eb044e
root/etc/cont-init.d/99-nodejs
@@ -1,6 +1,9 @@
1
#!/usr/bin/with-contenv bash
2
3
echo "**** installing nodejs dev environment ****"
4
+if ! dpkg -l | grep gnupg > /dev/null; then
5
+ apt-get update && apt-get install -y gnupg
6
+fi
7
[[ ! -f "/etc/apt/sources.list.d/nodesource.list" ]] && \
8
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
9
echo 'deb https://deb.nodesource.com/node_12.x bionic main' \
0 commit comments