master/scripts/ruby

13 lines
155 B
Bash
Executable File

#!/bin/sh
tty --quiet
if [ $? -eq 0 ]; then
TTY="-ti"
fi;
exec docker run --rm ${TTY} \
-v ${PWD}:${PWD} \
-w ${PWD} \
ruby:2-alpine $@