Skip to content

Commit 5640fc7

Browse files
committed
feature: docker: io: nvm: node
1 parent 3aac4e6 commit 5640fc7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docker/Dockerfile.io

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,10 @@ RUN apt-get update && \
3232
echo "> install nvm" && \
3333
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.4/install.sh | bash && \
3434
. ~/.nvm/nvm.sh && \
35-
mv -f ~/.nvm /usr/local/src/nvm && \
3635
nvm i node && \
36+
mv -f ~/.nvm/* /usr/local/src/nvm/ && \
37+
rm -rf ~/.nvm && \
38+
ln -s /usr/local/src/nvm/versions/node/$(node -v)/bin/node /usr/local/bin/node && \
3739
echo "> install npm globals" && \
3840
npm i wisdom nupdate version-io redrun superc8 supertape madrun redlint putout renamify-cli runny redfork -g && \
3941
echo "> install bun" && \

0 commit comments

Comments
 (0)