1
0
Fork 0
mirror of https://github.com/Luzifer/dns.git synced 2024-11-14 08:52:47 +00:00
dns/Makefile

16 lines
357 B
Makefile
Raw Permalink Normal View History

default: container
container:
docker build --no-cache --pull -t luzifer/dns .
bash -eo pipefail -c '[ "$(REF)" == "refs/heads/master" ] && docker push luzifer/dns || true'
.venv:
virtualenv --python=python3 .venv
./.venv/bin/pip3 install -r requirements.txt
alpine-prereq:
apk --no-cache add make python3
pip3 install virtualenv
.PHONY: container