1
0

Merge branch 'piholebump'

This commit is contained in:
nicolas.dorier
2020-05-12 20:09:06 +09:00
3 changed files with 8 additions and 8 deletions

View File

@@ -624,18 +624,18 @@ cd - && cd ..
# Build pihole
# https://raw.githubusercontent.com/pi-hole/docker-pi-hole/v4.4/Dockerfile_amd64
# https://raw.githubusercontent.com/pi-hole/docker-pi-hole/v5.0/Dockerfile_amd64
DOCKERFILE="Dockerfile_amd64"
# https://raw.githubusercontent.com/pi-hole/docker-pi-hole/v4.4/Dockerfile_armhf
# https://raw.githubusercontent.com/pi-hole/docker-pi-hole/v5.0/Dockerfile_armhf
[[ "$(uname -m)" == "armv7l" ]] && DOCKERFILE="Dockerfile_armhf"
# https://raw.githubusercontent.com/pi-hole/docker-pi-hole/v4.4/Dockerfile_arm64
# https://raw.githubusercontent.com/pi-hole/docker-pi-hole/v5.0/Dockerfile_arm64
[[ "$(uname -m)" == "aarch64" ]] && DOCKERFILE="Dockerfile_arm64"
echo "Building pihole/pihole:v4.4"
echo "Building pihole/pihole:v5.0"
git clone https://github.com/pi-hole/docker-pi-hole pihole
cd pihole
git checkout v4.4
git checkout v5.0
cd "$(dirname $DOCKERFILE)"
docker build -f "$DOCKERFILE" -t "pihole/pihole:v4.4" .
docker build -f "$DOCKERFILE" -t "pihole/pihole:v5.0" .
cd - && cd ..