2018-01-31 22:49:19 +00:00
|
|
|
default: container
|
|
|
|
|
|
|
|
container:
|
|
|
|
docker build --no-cache --pull -t luzifer/dns .
|
2018-09-28 22:06:37 +00:00
|
|
|
bash -eo pipefail -c '[ "$(REF)" == "refs/heads/master" ] && docker push luzifer/dns || true'
|
2018-02-06 21:35:56 +00:00
|
|
|
|
2018-02-06 22:00:17 +00:00
|
|
|
check_zones: .venv
|
|
|
|
./.venv/bin/python3 checkZonefile.py
|
|
|
|
|
2018-02-06 21:35:56 +00:00
|
|
|
.venv:
|
|
|
|
virtualenv --python=python3 .venv
|
|
|
|
./.venv/bin/pip3 install -r requirements.txt
|
|
|
|
|
2018-02-06 22:26:27 +00:00
|
|
|
alpine-prereq:
|
|
|
|
apk --no-cache add make python3
|
|
|
|
pip3 install virtualenv
|
|
|
|
|
2018-02-06 22:08:29 +00:00
|
|
|
.PHONY: check_zones container
|