#!/bin/sh
# Often doesn't work very well, because falderal inside the container executes
# executables from outside the container, which expect things like shared libraries
# that they can't find inside the container. Still, there it is.
EXENAME=falderal
SCRIPTPATH=`realpath $0`
SCRIPTDIR=`dirname $SCRIPTPATH`
. $SCRIPTDIR/../catseye/$EXENAME/settings.sh
IMAGE=$ORGNAME/$EXENAME:$VERSION
docker run --user $(id -u):$(id -g) -i -t -v "${PWD}:/mnt/host" $IMAGE $EXENAME "$@"