Make image a parameter to allow running with any image
This commit is contained in:
parent
25d32da895
commit
3b8227c29d
|
@ -33,7 +33,7 @@ trap "cleanup" INT TERM EXIT
|
||||||
# VOLUME TESTS
|
# VOLUME TESTS
|
||||||
|
|
||||||
# Given...
|
# Given...
|
||||||
IMAGE="pihole:v5.0-amd64" # The latest build test image (generic, non release/branch tag)
|
IMAGE="${1:-pihole:v5.0-amd64}" # Default is latest build test image (generic, non release/branch tag)
|
||||||
VOLUMES="$(mktemp -d)" # A fresh volume directory
|
VOLUMES="$(mktemp -d)" # A fresh volume directory
|
||||||
VOL_PH="$VOLUMES/pihole"
|
VOL_PH="$VOLUMES/pihole"
|
||||||
VOL_DM="$VOLUMES/dnsmasq.d"
|
VOL_DM="$VOLUMES/dnsmasq.d"
|
||||||
|
|
Loading…
Reference in New Issue