Script for yastasoti, and refactor existing scripts.
Chris Pressey
3 years ago
3 | 3 |
# executables from outside the container, which expect things like shared libraries
|
4 | 4 |
# that they can't find inside the container. Still, there it is.
|
5 | 5 |
|
6 | |
IMAGE=catseye/falderal:0.13
|
|
6 |
ORGNAME=catseye
|
|
7 |
EXENAME=falderal
|
|
8 |
VERSION=0.13
|
|
9 |
IMAGE=$ORGNAME/$EXENAME:$VERSION
|
7 | 10 |
|
8 | 11 |
# 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 $*
|
0 | 0 |
#!/bin/sh
|
1 | 1 |
|
2 | |
IMAGE=catseye/sixtypical:0.19
|
|
2 |
ORGNAME=catseye
|
|
3 |
EXENAME=sixtypical
|
|
4 |
VERSION=0.19
|
|
5 |
IMAGE=$ORGNAME/$EXENAME:$VERSION
|
|
6 |
|
3 | 7 |
#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 |
|