Merge pull request #3349 from phantomboyA/fix-nvm-error
improvement on nvm installation in workspace container
This commit is contained in:
commit
f4c0bfec64
@ -741,6 +741,7 @@ RUN if [ ${INSTALL_NODE} = true ]; then \
|
|||||||
&& nvm install ${NODE_VERSION} \
|
&& nvm install ${NODE_VERSION} \
|
||||||
&& nvm use ${NODE_VERSION} \
|
&& nvm use ${NODE_VERSION} \
|
||||||
&& nvm alias ${NODE_VERSION} \
|
&& nvm alias ${NODE_VERSION} \
|
||||||
|
&& npm cache clear --force \
|
||||||
&& npm config set fetch-retries ${NPM_FETCH_RETRIES} \
|
&& npm config set fetch-retries ${NPM_FETCH_RETRIES} \
|
||||||
&& npm config set fetch-retry-factor ${NPM_FETCH_RETRY_FACTOR} \
|
&& npm config set fetch-retry-factor ${NPM_FETCH_RETRY_FACTOR} \
|
||||||
&& npm config set fetch-retry-mintimeout ${NPM_FETCH_RETRY_MINTIMEOUT} \
|
&& npm config set fetch-retry-mintimeout ${NPM_FETCH_RETRY_MINTIMEOUT} \
|
||||||
|
Loading…
Reference in New Issue
Block a user