aboutsummaryrefslogtreecommitdiff
path: root/skopeo/Makefile
blob: 28e15d572edea7893c3a3ec570ec323fb03a1ab9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
IMAGE=docker.crute.me/skopeo:latest

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

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

run:
	docker run -d --net=host \
		-p 53:53/tcp \
		-p 53:53/udp \
		-p 953:953 \
		-v /home/mcrute/tmp/bind/conf:/etc/bind \
		-v /home/mcrute/tmp/bind/cache:/var/cache/bind \
		$(IMAGE)

publish:
	docker push $(IMAGE)