1 2 3 4 5 6 7 8 9
#!/bin/sh set -e cd "$(dirname "$0")/.." IMAGE=$(basename $PWD):latest docker build . -t $IMAGE docker run $IMAGE bundle exec rake