Skip to content

Commit e92583e

Browse files
committed
Ensure default nodejs
1 parent cd715ce commit e92583e

File tree

1 file changed

+1
-1
lines changed
  • build/COPY_ROOT_0/opt/ai-dock/bin

1 file changed

+1
-1
lines changed

build/COPY_ROOT_0/opt/ai-dock/bin/init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ function init_write_environment() {
433433
printf "# First init complete\n" >> /root/.bashrc
434434
printf "umask 002\n" >> /root/.bashrc
435435
printf "source /opt/ai-dock/etc/environment.sh\n" >> /root/.bashrc
436-
printf "nvm use > /dev/null 2>&1\n" >> /root/.bashrc
436+
printf "nvm use default > /dev/null 2>&1\n" >> /root/.bashrc
437437

438438
if [[ -n $PYTHON_DEFAULT_VENV ]]; then
439439
printf '\nif [[ -d $WORKSPACE/environments/python/$PYTHON_DEFAULT_VENV ]]; then\n' >> /root/.bashrc

0 commit comments

Comments
 (0)