File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 1
1
SET OW_OUT_DIR = /home/ow/shared
2
2
SET HOST_OUT_DIR = %~dps0
3
+ @ SET /P version = < VERSION
3
4
4
5
docker run -it ^
5
6
--name openworm ^
6
7
-e OW_OUT_DIR=%OW_OUT_DIR% ^
7
8
--privileged ^
8
9
-v %HOST_OUT_DIR% :%OW_OUT_DIR% :rw ^
9
- openworm/openworm:0.9.3 ^
10
+ openworm/openworm:%version% ^
10
11
/bin/bash
Original file line number Diff line number Diff line change 3
3
4
4
set OW_OUT_DIR = /home/ow/shared
5
5
set HOST_OUT_DIR = %~dps0
6
+ @ SET /P version = < VERSION
6
7
7
8
:GETOPTS
8
9
if /i " %1 " == " -d" set DURATION = %2 & shift
@@ -20,7 +21,7 @@ docker run -d ^
20
21
-e DURATION=%DURATION% ^
21
22
--privileged ^
22
23
-v %HOST_OUT_DIR% :%OW_OUT_DIR% :rw ^
23
- openworm/openworm:0.9.3 ^
24
+ openworm/openworm:%version% ^
24
25
/bin/bash -c " python master_openworm.py"
25
26
26
27
docker logs -f openworm
You can’t perform that action at this time.
0 commit comments