8 lines
242 B
Docker
8 lines
242 B
Docker
|
FROM gitpod/workspace-full:latest
|
||
|
|
||
|
RUN bash -c 'VERSION="18" \
|
||
|
&& source $HOME/.nvm/nvm.sh && nvm install $VERSION \
|
||
|
&& nvm use $VERSION && nvm alias default $VERSION'
|
||
|
|
||
|
RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix
|