docker-duplicity-cron/test.sh

11 lines
187 B
Bash
Raw Normal View History

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