]>
Commit | Line | Data |
---|---|---|
d2a1e0c6 | 1 | .PHONY: all build build-nocache dep auth recursor dnsdist |
ae9d86e0 PD |
2 | |
3 | VERSION=experimental | |
4 | REVISION=1 | |
5 | ||
6 | all: build | |
7 | ||
d2a1e0c6 | 8 | auth: |
ae9d86e0 | 9 | docker build --build-arg VERSION=$(VERSION) -t powerdns/pdns-auth-master:$(VERSION)-$(REVISION) --rm -f Dockerfile-auth . |
d2a1e0c6 PL |
10 | |
11 | recursor: | |
ae9d86e0 | 12 | docker build --build-arg VERSION=$(VERSION) -t powerdns/pdns-recursor-master:$(VERSION)-$(REVISION) --rm -f Dockerfile-recursor . |
d2a1e0c6 PL |
13 | |
14 | dnsdist: | |
ae9d86e0 PD |
15 | docker build --build-arg VERSION=$(VERSION) -t powerdns/dnsdist-master:$(VERSION)-$(REVISION) --rm -f Dockerfile-dnsdist . |
16 | ||
d2a1e0c6 PL |
17 | build: auth recursor dnsdist |
18 | @true | |
19 | ||
ae9d86e0 PD |
20 | build-nocache: |
21 | docker build --build-arg VERSION=$(VERSION) -t powerdns/pdns-auth-master:$(VERSION)-$(REVISION) --no-cache --rm -f Dockerfile-auth . | |
22 | docker build --build-arg VERSION=$(VERSION) -t powerdns/pdns-recursor-master:$(VERSION)-$(REVISION) --no-cache --rm -f Dockerfile-recursor . | |
23 | docker build --build-arg VERSION=$(VERSION) -t powerdns/dnsdist-master:$(VERSION)-$(REVISION) --no-cache --rm -f Dockerfile-dnsdist . | |
24 | ||
25 | push: build | |
26 | docker push powerdns/pdns-auth-master:$(VERSION)-$(REVISION) | |
27 | docker push powerdns/pdns-recursor-master:$(VERSION)-$(REVISION) | |
28 | docker push powerdns/dnsdist-master:$(VERSION)-$(REVISION) | |
29 | ||
30 | push-latest: build | |
31 | docker tag powerdns/pdns-auth-master:$(VERSION)-$(REVISION) powerdns/pdns-auth-master:latest | |
32 | docker push powerdns/pdns-auth-master:latest | |
33 | docker tag powerdns/pdns-recursor-master:$(VERSION)-$(REVISION) powerdns/pdns-recursor-master:latest | |
34 | docker push powerdns/pdns-recursor-master:latest | |
35 | docker tag powerdns/dnsdist-master:$(VERSION)-$(REVISION) powerdns/dnsdist-master:latest | |
36 | docker push powerdns/dnsdist-master:latest |