add nvm NVM_NODEJS_ORG_MIRROR

This commit is contained in:
alone
2019-11-18 03:05:13 +08:00
parent c3620e95c8
commit aff7d9d615
3 changed files with 3 additions and 0 deletions

View File

@ -580,6 +580,7 @@ ARG INSTALL_NPM_ANGULAR_CLI=false
ARG NPM_REGISTRY
ENV NPM_REGISTRY ${NPM_REGISTRY}
ENV NVM_DIR /home/laradock/.nvm
ENV NVM_NODEJS_ORG_MIRROR=${NVM_NODEJS_ORG_MIRROR}
RUN if [ ${INSTALL_NODE} = true ]; then \
# Install nvm (A Node Version Manager)