docker-duplicity-cron/tests/test-compose.sh

7 lines
182 B
Bash
Raw Normal View History

#! /bin/bash
export COMPOSE_FILE="docker-compose-test-$1.yml"
export DOCKER_IMAGE="$2"
docker-compose -f "$COMPOSE_FILE" up \
--build --abort-on-container-exit --force-recreate