Update NVM installer (#1794)

This commit is contained in:
Null 2018-09-17 17:11:30 +03:00 committed by Shao Yu-Lung (Allen)
parent d5d9073863
commit 784aab2043
1 changed files with 2 additions and 1 deletions

View File

@ -446,7 +446,8 @@ ENV NVM_DIR /home/laradock/.nvm
RUN if [ ${INSTALL_NODE} = true ]; then \
# Install nvm (A Node Version Manager)
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash \
mkdir -p $NVM_DIR && \
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash \
&& . $NVM_DIR/nvm.sh \
&& nvm install ${NODE_VERSION} \
&& nvm use ${NODE_VERSION} \