1 2 3 4 5 6
#!/bin/sh IMAGE=$(basename $PWD):latest docker build . -t $IMAGE docker run $IMAGE bundle exec rake publish