Skip to content

Commit

Permalink
Bug QuantConnect#4839 Docker Bash Script Hotfix (QuantConnect#4861)
Browse files Browse the repository at this point in the history
* fix IFS issue in bash docker scripts

* Add default image to research config
  • Loading branch information
C-SELLERS authored and reginaldlouis committed Oct 16, 2020
1 parent 9bb866a commit f8bb4ea
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Research/docker.cfg
@@ -1,3 +1,3 @@
image=
image=quantconnect/research:latest
data_dir=
notebook_dir=
3 changes: 3 additions & 0 deletions Research/run_docker_notebook.sh
Expand Up @@ -39,6 +39,9 @@ else
read -p "Enter absolute path to store notebooks [default: $default_notebook_dir]: " notebook_dir
fi

#Have to reset IFS for cfg files to work properly
IFS=" "

if [ -z "$image" ]; then
image=$default_image
fi
Expand Down
3 changes: 3 additions & 0 deletions run_docker.sh
Expand Up @@ -43,6 +43,9 @@ else
read -p "Would you like to debug C#? (Requires mono debugger attachment) [default: N]: " debugging
fi

#Have to reset IFS for cfg files to work properly
IFS=" "

if [ -z "$image" ]; then
image=$default_image
fi
Expand Down

0 comments on commit f8bb4ea

Please sign in to comment.