mirror of
https://github.com/Luzifer/dns.git
synced 2024-12-22 19:01:20 +00:00
18 lines
427 B
Makefile
18 lines
427 B
Makefile
default: container
|
|
|
|
container:
|
|
docker build --no-cache --pull -t luzifer/dns .
|
|
bash -eo pipefail -c '[ "$(REF)" == "refs/heads/master" ] && docker push luzifer/dns || true'
|
|
|
|
check_zones: .venv
|
|
./.venv/bin/python3 checkZonefile.py
|
|
|
|
.venv:
|
|
virtualenv --python=python3 .venv
|
|
./.venv/bin/pip3 install -r requirements.txt
|
|
|
|
alpine-prereq:
|
|
apk --no-cache add make python3
|
|
pip3 install virtualenv
|
|
|
|
.PHONY: check_zones container
|