Deb: build-deb now builds a .deb for Ubuntu 18

It builds the builder image first, then proceeeds to building .deb
inside it, and the result is put into the parent (../) directory.
This commit is contained in:
Dmitry Maksyoma
2021-01-07 21:57:53 +13:00
parent 702f817845
commit 59382451dc
3 changed files with 21 additions and 3 deletions

11
builder/build-deb-inside-docker Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
set -e
cd "$(dirname "$0")/.."
# Auto-install build-deps again
# echo YYY | mk-build-deps --install debian/control
dpkg-buildpackage -us -uc -b
lintian ../*.deb