test_docker.sh 224 B

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