We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6411e3 commit c69616fCopy full SHA for c69616f
src/javascript-node/Dockerfile
@@ -15,7 +15,7 @@ RUN \
15
&& chown ${USERNAME}:npm ${NPM_GLOBAL} /usr/local/etc/npmrc \
16
&& chmod g+s ${NPM_GLOBAL} \
17
&& npm config -g set prefix ${NPM_GLOBAL} \
18
- && sudo -u ${USERNAME} npm config -g set prefix ${NPM_GLOBAL} \
+ && su ${USERNAME} -c "npm config -g set prefix ${NPM_GLOBAL}" \
19
# Install eslint
20
&& su ${USERNAME} -c "umask 0002 && npm install -g eslint" \
21
&& npm cache clean --force > /dev/null 2>&1
0 commit comments