debian: build all 3 ARCHs (#150)

Just build them all, and some typos fixed.

Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
Miek Gieben 2019-04-14 11:02:57 +01:00 committed by GitHub
parent 8fbbcc6ae8
commit 6530a4f15a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
# Makefile for building packages for CoreDNS.
# ARCH can be and default to amd64 is not set.
# ARCH := amd64 armhf arm64
ARCH := amd64 armhf arm64
ifeq ($(ARCH),)
ARCH:=amd64
@ -10,7 +10,7 @@ endif
.PHONY: debian
debian:
for a in $(ARCH); do \
dpkg-buildpackage -us -uc -b --target-arch $$aa ;\
dpkg-buildpackage -us -uc -b --target-arch $$a ;\
done
debian-clean:

View file

@ -7,9 +7,9 @@ After=network.target
PermissionsStartOnly=true
LimitNOFILE=1048576
LimitNPROC=512
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_BIND_SERVICE
NoNewPrivileges=true
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_BIND_SERVICE
NoNewPrivileges=true
User=coredns
WorkingDirectory=~
ExecStart=/usr/bin/coredns -conf=/etc/coredns/Corefile