update npmts to have npmts in path for all node tests.

This commit is contained in:
Philipp Kunz 2016-06-10 07:30:07 +02:00
parent 37e997ebf2
commit a112bba2e1
2 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
FROM ubuntu:latest FROM ubuntu:latest
# important environment variables # 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 # Set debconf to run non-interactively and install packages
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \

View File

@ -1,2 +1,4 @@
FROM hosttoday/ht-docker-node:npmci FROM hosttoday/ht-docker-node:npmci
RUN npm install -g npmts 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