kopia lustrzana https://github.com/jupyterhub/repo2docker
commit
f3229c1fd5
|
@ -57,8 +57,8 @@ RUN groupadd \
|
||||||
|
|
||||||
RUN wget --quiet -O - https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
|
RUN wget --quiet -O - https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
|
||||||
DISTRO="bionic" && \
|
DISTRO="bionic" && \
|
||||||
echo "deb https://deb.nodesource.com/node_10.x $DISTRO main" >> /etc/apt/sources.list.d/nodesource.list && \
|
echo "deb https://deb.nodesource.com/node_14.x $DISTRO main" >> /etc/apt/sources.list.d/nodesource.list && \
|
||||||
echo "deb-src https://deb.nodesource.com/node_10.x $DISTRO main" >> /etc/apt/sources.list.d/nodesource.list
|
echo "deb-src https://deb.nodesource.com/node_14.x $DISTRO main" >> /etc/apt/sources.list.d/nodesource.list
|
||||||
|
|
||||||
# Base package installs are not super interesting to users, so hide their outputs
|
# Base package installs are not super interesting to users, so hide their outputs
|
||||||
# If install fails for some reason, errors will still be printed
|
# If install fails for some reason, errors will still be printed
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Test that node 12 and npm 6 are installed and runnable.
|
|
@ -5,7 +5,7 @@ set -ex
|
||||||
# check node system package and its version
|
# check node system package and its version
|
||||||
which node
|
which node
|
||||||
node --version
|
node --version
|
||||||
node --version | grep v10
|
node --version | grep v14
|
||||||
|
|
||||||
which npm
|
which npm
|
||||||
npm --version
|
npm --version
|
|
@ -1 +0,0 @@
|
||||||
Test that node 10 and npm 6 are installed and runnable.
|
|
Ładowanie…
Reference in New Issue