git @ Cat's Eye Technologies The-Cannery / 5633a52
Script for yastasoti, and refactor existing scripts. Chris Pressey 3 years ago
3 changed file(s) with 21 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
33 # executables from outside the container, which expect things like shared libraries
44 # that they can't find inside the container. Still, there it is.
55
6 IMAGE=catseye/falderal:0.13
6 ORGNAME=catseye
7 EXENAME=falderal
8 VERSION=0.13
9 IMAGE=$ORGNAME/$EXENAME:$VERSION
710
811 # Note that $* isn't sufficient because it doesn't retain quotes.
9 docker run --user $(id -u):$(id -g) -i -t -v "${PWD}:/mnt/host" $IMAGE falderal $*
12 docker run --user $(id -u):$(id -g) -i -t -v "${PWD}:/mnt/host" $IMAGE $EXENAME $*
00 #!/bin/sh
11
2 IMAGE=catseye/sixtypical:0.19
2 ORGNAME=catseye
3 EXENAME=sixtypical
4 VERSION=0.19
5 IMAGE=$ORGNAME/$EXENAME:$VERSION
6
37 #if sudo docker inspect --type=image "$IMAGE" >/dev/null 2>&1; then
4 docker run --user $(id -u):$(id -g) -i -t -v "${PWD}:/mnt/host" $IMAGE sixtypical $*
8 docker run --user $(id -u):$(id -g) -i -t -v "${PWD}:/mnt/host" $IMAGE $EXENAME $*
0 #!/bin/sh
1
2 ORGNAME=catseye
3 EXENAME=yastasoti
4 VERSION=0.4
5 IMAGE=$ORGNAME/$EXENAME:$VERSION
6
7 # Note that $* isn't sufficient because it doesn't retain quotes.
8 docker run --user $(id -u):$(id -g) -i -t -v "${PWD}:/mnt/host" $IMAGE $EXENAME $*
9