start docker_shell in a more useful working directory

This commit is contained in:
Eric Harding committed 2017-09-07 16:38:30 -04:00
1 parent 56967c05ca
commit 4c7cbf80b9
1 file changed
+3 -1
+3 -1
View File
@@ -1,5 +1,7 @@
@setlocal
@set linuxhome=%homedrive%%homepath%\linux_home
set target=%1
if "%target%"=="" set target=gcc_debug
if not exist %linuxhome% (
mkdir %linuxhome%
mkdir %linuxhome%\config
@@ -13,4 +15,4 @@ docker run --rm -i ^
-v %cd%:/bts ^
-h %COMPUTERNAME%_spark ^
-t bluetradingsystems/linux_docker ^
/bin/bash -c "/usr/sbin/sshd -D & (cd ~/config && python -m SimpleHTTPServer >/dev/null 2>/dev/null) & /bin/bash
/bin/bash -c "/usr/sbin/sshd -D & (cd ~/config && python -m SimpleHTTPServer >/dev/null 2>/dev/null) & cd /bts/build/%target%/; /bin/bash"