add unsafe-perm support
This commit is contained in:
parent
e295440d11
commit
020bca3347
@ -5,6 +5,7 @@ RUN bash -c "source $NVM_DIR/nvm.sh \
|
|||||||
&& nvm install $NODE_VERSION_LTS \
|
&& nvm install $NODE_VERSION_LTS \
|
||||||
&& nvm alias default $NODE_VERSION_LTS \
|
&& nvm alias default $NODE_VERSION_LTS \
|
||||||
&& nvm use default \
|
&& nvm use default \
|
||||||
|
&& npm config --unsafe-perm true \
|
||||||
&& npm install -g npm"
|
&& npm install -g npm"
|
||||||
|
|
||||||
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION_LTS/lib/node_modules
|
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION_LTS/lib/node_modules
|
||||||
|
@ -4,6 +4,7 @@ RUN bash -c "source $NVM_DIR/nvm.sh \
|
|||||||
&& nvm install $NODE_VERSION_STABLE \
|
&& nvm install $NODE_VERSION_STABLE \
|
||||||
&& nvm alias default $NODE_VERSION_STABLE \
|
&& nvm alias default $NODE_VERSION_STABLE \
|
||||||
&& nvm use default \
|
&& nvm use default \
|
||||||
|
&& npm config --unsafe-perm true \
|
||||||
&& npm install -g npm"
|
&& npm install -g npm"
|
||||||
|
|
||||||
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION_STABLE/lib/node_modules
|
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION_STABLE/lib/node_modules
|
||||||
|
Loading…
Reference in New Issue
Block a user