improvement on nvm installation in workspace container

This commit is contained in:
phantomboyA committed 2023-02-07 04:07:02 +09:00
1 parent 6c8cb6dd85
commit c5ddf331ed
1 file changed
+1
+1
View File
@@ -741,6 +741,7 @@ RUN if [ ${INSTALL_NODE} = true ]; then \
&& nvm install ${NODE_VERSION} \
&& nvm use ${NODE_VERSION} \
&& nvm alias ${NODE_VERSION} \
&& npm cache clear --force \
&& npm config set fetch-retries ${NPM_FETCH_RETRIES} \
&& npm config set fetch-retry-factor ${NPM_FETCH_RETRY_FACTOR} \
&& npm config set fetch-retry-mintimeout ${NPM_FETCH_RETRY_MINTIMEOUT} \