1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/bash # Test with various versions of ubuntu. This more or less re-creates the # Travis CI test environment set -e NAME=`basename $1` TAG="python_magic/${NAME}:latest" docker build -t $TAG -f $1 . docker run $TAG