Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit d731096

Browse files
committed
avoid setting prefix
1 parent fb5d118 commit d731096

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

containers/codespaces-linux/.devcontainer/base.Dockerfile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,6 @@ RUN bash /tmp/scripts/node-debian.sh "${NVM_DIR}" "v14.17.6" "${USERNAME}" \
7777
&& (cd ${NVS_HOME} && git remote get-url origin && echo $(git log -n 1 --pretty=format:%H -- .)) > ${NVS_HOME}/.git-remote-and-commit \
7878
&& sudo -u ${USERNAME} bash ${NVS_HOME}/nvs.sh install \
7979
&& rm ${NVS_HOME}/cache/* \
80-
# Set npm global location
81-
&& sudo -u ${USERNAME} npm config set prefix ${NPM_GLOBAL} \
82-
&& npm config -g set prefix ${NPM_GLOBAL} \
83-
&& su ${USERNAME} -c ". ${NVM_DIR}/nvm.sh && nvm use --delete-prefix v14.17.6 --silent && nvm clear-cache" \
8480
# Clean up
8581
&& rm -rf ${NVM_DIR}/.git ${NVS_HOME}/.git
8682

0 commit comments

Comments
 (0)