Skip to content

Commit

Permalink
Ensure default nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
robballantyne committed Jun 16, 2024
1 parent cd715ce commit e92583e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/COPY_ROOT_0/opt/ai-dock/bin/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ function init_write_environment() {
printf "# First init complete\n" >> /root/.bashrc
printf "umask 002\n" >> /root/.bashrc
printf "source /opt/ai-dock/etc/environment.sh\n" >> /root/.bashrc
printf "nvm use > /dev/null 2>&1\n" >> /root/.bashrc
printf "nvm use default > /dev/null 2>&1\n" >> /root/.bashrc

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

0 comments on commit e92583e

Please sign in to comment.