diff --git a/Dockerfile b/Dockerfile index 9902722..2a88ac1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM ubuntu:latest # important environment variables -ENV NODE_VERSION_LTS="4.4.5" NODE_VERSION_STABLE="6.2.1" NVM_DIR="/usr/local/nvm" +ENV NODE_VERSION_LTS="4.4.5" NODE_VERSION_STABLE="6.2.1" NODE_VERSION_LEGACY="4.4.0" NVM_DIR="/usr/local/nvm" # Set debconf to run non-interactively and install packages RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \ diff --git a/Dockerfile_npmts b/Dockerfile_npmts index a7ab8e5..3a3c4b6 100644 --- a/Dockerfile_npmts +++ b/Dockerfile_npmts @@ -1,2 +1,4 @@ FROM hosttoday/ht-docker-node:npmci -RUN npm install -g npmts \ No newline at end of file +RUN npmci install $NODE_VERSION_STABLE && npm install -g npmts && \ + npmci install $NODE_VERSION_LEGACY && npm install -g npmts && \ + npmci install $NODE_VERSION_LTS && npm install -g npmts