Skip to content

Commit

Permalink
Remove redundant steps
Browse files Browse the repository at this point in the history
NVM already evaluates the NODE_VERSION environment variable
  • Loading branch information
tim-hellhake committed Jun 9, 2024
1 parent 024bbac commit c88cfa3
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions toolchain/linux-arm/node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ RUN apt update && \
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash && \
bash -c "export NVM_DIR=\${HOME}/.nvm && \
source \${NVM_DIR}/nvm.sh && \
nvm install ${NODE_VERSION} && \
nvm use ${NODE_VERSION} && \
npm config -g set unsafe-perm true && \
npm config -g set cache /tmp/.npm && \
nvm install-latest-npm && \
Expand Down
2 changes: 0 additions & 2 deletions toolchain/linux-arm64/node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ RUN apt update && \
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash && \
bash -c "export NVM_DIR=\${HOME}/.nvm && \
source \${NVM_DIR}/nvm.sh && \
nvm install ${NODE_VERSION} && \
nvm use ${NODE_VERSION} && \
npm config -g set unsafe-perm true && \
npm config -g set cache /tmp/.npm && \
nvm install-latest-npm && \
Expand Down
2 changes: 0 additions & 2 deletions toolchain/linux-x64/node/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ RUN apt update && \
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash && \
bash -c "export NVM_DIR=\${HOME}/.nvm && \
source \${NVM_DIR}/nvm.sh && \
nvm install ${NODE_VERSION} && \
nvm use ${NODE_VERSION} && \
npm config -g set unsafe-perm true && \
npm config -g set cache /tmp/.npm && \
nvm install-latest-npm && \
Expand Down

0 comments on commit c88cfa3

Please sign in to comment.