Skip to content

Commit c69616f

Browse files
committed
sudo not available yet
1 parent b6411e3 commit c69616f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/javascript-node/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ RUN \
1515
&& chown ${USERNAME}:npm ${NPM_GLOBAL} /usr/local/etc/npmrc \
1616
&& chmod g+s ${NPM_GLOBAL} \
1717
&& npm config -g set prefix ${NPM_GLOBAL} \
18-
&& sudo -u ${USERNAME} npm config -g set prefix ${NPM_GLOBAL} \
18+
&& su ${USERNAME} -c "npm config -g set prefix ${NPM_GLOBAL}" \
1919
# Install eslint
2020
&& su ${USERNAME} -c "umask 0002 && npm install -g eslint" \
2121
&& npm cache clean --force > /dev/null 2>&1

0 commit comments

Comments
 (0)