Skip to content

Commit

Permalink
Merge pull request #96 from diginc/dev
Browse files Browse the repository at this point in the history
Release dev to master
  • Loading branch information
diginc authored Jan 22, 2017
2 parents 69e5164 + 4ceae13 commit 5b7a9f3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions bash_functions.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
. /opt/pihole/webpage.sh

prepare_setup_vars() {
touch "$setupVars"
}

validate_env() {
if [ -z "$ServerIP" ] ; then
echo "ERROR: To function correctly you must pass an environment variables of 'ServerIP' into the docker container with the IP of your docker host from which you are passing web (80) and dns (53) ports from"
Expand Down
1 change: 1 addition & 0 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export IPv6

echo " ::: Starting docker specific setup for docker diginc/pi-hole"
validate_env
prepare_setup_vars
change_setting "IPV4_ADDRESS" "$ServerIP"
change_setting "IPV6_ADDRESS" "$ServerIPv6"
setup_dnsmasq_dns "$DNS1" "$DNS2"
Expand Down
2 changes: 1 addition & 1 deletion test/test_000_build_containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
@pytest.mark.parametrize("upstream,image,tag", [
( 'alpine:edge', 'alpine.docker', 'diginc/pi-hole:alpine' ),
( 'debian:jessie', 'debian.docker', 'diginc/pi-hole:debian' ),
( 'jsurf/rpi-raspbian', 'debian-armhf.docker', 'diginc/pi-hole:arm' ),
#( 'jsurf/rpi-raspbian', 'debian-armhf.docker', 'diginc/pi-hole:arm' ),
])
def test_build_pihole_image(upstream, image, tag):
run_local('docker pull {}'.format(upstream))
Expand Down

0 comments on commit 5b7a9f3

Please sign in to comment.