aboutsummaryrefslogtreecommitdiff
path: root/dns-manage/Makefile
blob: da1d5f407df3ef0ea31d79911f87e126546ef4ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
IMAGE=docker.crute.me/dns-manage:latest

all:
	docker pull alpine:latest
	docker build -t $(IMAGE) .

all-no-cache:
	docker build --no-cache -t $(IMAGE) .

run:
	docker run -d --net=host \
		--cap-add=NET_ADMIN \
		--name=bird \
		-v $PWD/bird:/srv/bird \
		$(IMAGE)

publish:
	docker push $(IMAGE)