dayoff/tools/crystal
2019-11-03 11:33:16 +03:00

16 lines
174 B
Bash
Executable File

#!/usr/bin/env bash
set -eu
TTY=
if [ -t 1 ] ; then
TTY=-t
fi
docker run -i $TTY \
-u "$(id -u):$(id -g)" \
-v "$PWD:/app" \
-w "/app" \
dayoff-crystal crystal "$@"