-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract current version from file VERSION in run.cmd and run-shell-on…
…ly.cmd too
- Loading branch information
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
SET OW_OUT_DIR=/home/ow/shared | ||
SET HOST_OUT_DIR=%~dps0 | ||
@SET /P version=<VERSION | ||
|
||
docker run -it ^ | ||
--name openworm ^ | ||
-e OW_OUT_DIR=%OW_OUT_DIR% ^ | ||
--privileged ^ | ||
-v %HOST_OUT_DIR%:%OW_OUT_DIR%:rw ^ | ||
openworm/openworm:0.9.3 ^ | ||
openworm/openworm:%version% ^ | ||
/bin/bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters