Trailing slashes on volumes fail on newer versions of docker-compose (#949)

* Trailing slashes on volumes fail on newer versions of docker-compose

See [Issue 947](https://github.com/pi-hole/docker-pi-hole/issues/947)
for the background.

This PR proposes removing trailing slashes from all documentation,
examples and scripts.

Signed-off-by: Phill Kelley <pmk.57t49@lgosys.com>
This commit is contained in:
Phill
2021-12-12 00:37:18 +11:00
committed by GitHub
parent 523762e47d
commit b0a5a0f163
5 changed files with 15 additions and 15 deletions

View File

@@ -46,8 +46,8 @@ echo "Testing $IMAGE with volumes base path $VOLUMES"
# Running stock+empty volumes (no ports to avoid conflicts)
CONTAINER="$(
docker run -d \
-v "$VOL_PH:/etc/pihole/" \
-v "$VOL_DM:/etc/dnsmasq.d/" \
-v "$VOL_PH:/etc/pihole" \
-v "$VOL_DM:/etc/dnsmasq.d" \
-v "/dev/null:/etc/pihole/adlists.list" \
--entrypoint='' \
$IMAGE \
@@ -92,8 +92,8 @@ assert_new_settings
docker rm -f $CONTAINER
CONTAINER="$(
docker run -d \
-v "$VOL_PH:/etc/pihole/" \
-v "$VOL_DM:/etc/dnsmasq.d/" \
-v "$VOL_PH:/etc/pihole" \
-v "$VOL_DM:/etc/dnsmasq.d" \
-v "/dev/null:/etc/pihole/adlists.list" \
--entrypoint='' \
$IMAGE \