mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-05-05 04:28:38 +02:00
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:
parent
8fbbcc6ae8
commit
6530a4f15a
2 changed files with 5 additions and 5 deletions
4
Makefile
4
Makefile
|
@ -1,7 +1,7 @@
|
||||||
# Makefile for building packages for CoreDNS.
|
# Makefile for building packages for CoreDNS.
|
||||||
|
|
||||||
# ARCH can be and default to amd64 is not set.
|
# ARCH can be and default to amd64 is not set.
|
||||||
# ARCH := amd64 armhf arm64
|
ARCH := amd64 armhf arm64
|
||||||
|
|
||||||
ifeq ($(ARCH),)
|
ifeq ($(ARCH),)
|
||||||
ARCH:=amd64
|
ARCH:=amd64
|
||||||
|
@ -10,7 +10,7 @@ endif
|
||||||
.PHONY: debian
|
.PHONY: debian
|
||||||
debian:
|
debian:
|
||||||
for a in $(ARCH); do \
|
for a in $(ARCH); do \
|
||||||
dpkg-buildpackage -us -uc -b --target-arch $$aa ;\
|
dpkg-buildpackage -us -uc -b --target-arch $$a ;\
|
||||||
done
|
done
|
||||||
|
|
||||||
debian-clean:
|
debian-clean:
|
||||||
|
|
6
debian/coredns.service
vendored
6
debian/coredns.service
vendored
|
@ -7,9 +7,9 @@ After=network.target
|
||||||
PermissionsStartOnly=true
|
PermissionsStartOnly=true
|
||||||
LimitNOFILE=1048576
|
LimitNOFILE=1048576
|
||||||
LimitNPROC=512
|
LimitNPROC=512
|
||||||
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
|
||||||
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||||
NoNewPrivileges=true
|
NoNewPrivileges=true
|
||||||
User=coredns
|
User=coredns
|
||||||
WorkingDirectory=~
|
WorkingDirectory=~
|
||||||
ExecStart=/usr/bin/coredns -conf=/etc/coredns/Corefile
|
ExecStart=/usr/bin/coredns -conf=/etc/coredns/Corefile
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue