Merge branch 'piholebump'
This commit is contained in:
@@ -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 ..
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user