2017-06-29 01:12:49 +00:00
|
|
|
#! /bin/bash
|
|
|
|
|
2017-11-16 17:23:03 +00:00
|
|
|
image=$1
|
2017-06-29 01:12:49 +00:00
|
|
|
|
2017-11-15 19:02:12 +00:00
|
|
|
# Run the test script within the container
|
|
|
|
docker run --rm \
|
|
|
|
-e SKIP_ON_START=true \
|
|
|
|
-v "$(pwd)/itest.sh:/itest.sh" \
|
2017-11-16 17:23:03 +00:00
|
|
|
$image \
|
2017-11-15 19:02:12 +00:00
|
|
|
bash -c "/itest.sh"
|