Skip to content

Commit

Permalink
Make it easier to test various versions
Browse files Browse the repository at this point in the history
  • Loading branch information
bbfrederick committed Nov 18, 2024
1 parent e0080b8 commit 13ff563
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion dockershell.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/bin/bash

docker run -it fredericklab/capcalc xyzzy
VERSION=latest

docker pull fredericklab/capcalc:${VERSION}
docker run -it fredericklab/capcalc:${VERSION} xyzzy
4 changes: 3 additions & 1 deletion testdocker.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
#!/bin/bash

MYIPADDRESS=`ifconfig en0 | grep 'inet ' | awk '{print $2}'`
VERSION=latest

docker pull fredericklab/capcalc:${VERSION}
docker run \
--rm \
--ipc host \
--mount type=bind,source=/Users/frederic/code/capcalc/capcalc/data/,destination=/data \
-it \
-v /tmp/.X11-unix:/tmp/.X11-unix \
-u capcalc fredericklab/capcalc:latest \
-u capcalc fredericklab/capcalc:${VERSION} \
capfromtcs \
-i /data/manyfiles.txt \
-o /data/output/manyfiles \
Expand Down

0 comments on commit 13ff563

Please sign in to comment.