test.ps1 252 B

1234567891011
  1. function TestInContainer($name) {
  2. $TAG="python_magic/${name}:latest"
  3. docker build -t $TAG -f "test/Dockerfile_${name}" .
  4. docker run "python_magic/${name}:latest"
  5. }
  6. TestInContainer "xenial"
  7. TestInContainer "bionic"
  8. TestInContainer "focal"