mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2024-06-29 12:41:00 +02:00
22 lines
392 B
Bash
Executable File
22 lines
392 B
Bash
Executable File
#!/bin/bash -e
|
|
. /common_start.sh
|
|
# Dockerfile variables
|
|
export IMAGE
|
|
export ServerIP
|
|
export ServerIPv6
|
|
export PYTEST
|
|
export PHP_ENV_CONFIG
|
|
export PHP_ERROR_LOG
|
|
export HOSTNAME
|
|
|
|
validate_env
|
|
setup_saved_variables
|
|
setup_php_env
|
|
setup_dnsmasq_dns "$DNS1" "$DNS2"
|
|
setup_dnsmasq_hostnames "$ServerIP" "$ServerIPv6" "$HOSTNAME"
|
|
setup_ipv4_ipv6
|
|
test_configs
|
|
test_framework_stubbing
|
|
|
|
main "$IMAGE"
|