Skip to content

Commit

Permalink
Revert "[full] Don't force Node.js v10 in the PATH"
Browse files Browse the repository at this point in the history
This reverts commit 6f17595.

Reason: Node.js debugging in Gitpod relies on a hard-coded Node.js
version in the $PATH.
  • Loading branch information
jankeromnes committed Mar 12, 2020
1 parent e0f208d commit 6e74409
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions full/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ RUN curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh |
&& echo ". ~/.nvm/nvm-lazy.sh" >> /home/gitpod/.bashrc.d/50-node
# above, we are adding the lazy nvm init to .bashrc, because one is executed on interactive shells, the other for non-interactive shells (e.g. plugin-host)
COPY --chown=gitpod:gitpod nvm-lazy.sh /home/gitpod/.nvm/nvm-lazy.sh
ENV PATH=/home/gitpod/.nvm/versions/node/v${NODE_VERSION}/bin:$PATH

### Python ###
LABEL dazzle/layer=lang-python
Expand Down

0 comments on commit 6e74409

Please sign in to comment.