mirror of
https://github.com/notherealmarco/coredns-deployment.git
synced 2025-05-05 12:32:34 +02:00
debian: add package building (#20)
This only builds on a debian system, because it uses the dpkg-helper and other utils. But it builds! Multiarch is supported, you can easily build a package for amd64, arm and arm64. The Makefile does this by default. Massively update the systemd file.
This commit is contained in:
parent
3313ba9e12
commit
aaf5dae5dd
10 changed files with 110 additions and 8 deletions
10
Makefile
Normal file
10
Makefile
Normal file
|
@ -0,0 +1,10 @@
|
|||
# Makefile for building packages for CoreDNS.
|
||||
|
||||
# Build the debian packages
|
||||
.PHONY: debian
|
||||
debian:
|
||||
dpkg-buildpackage -us -uc -b --target-arch amd64
|
||||
dpkg-buildpackage -us -uc -b --target-arch arm
|
||||
dpkg-buildpackage -us -uc -b --target-arch arm64
|
||||
# debs are one up
|
||||
ls ../*.deb
|
Loading…
Add table
Add a link
Reference in a new issue