Deb: add build-tarball and build-deb commands WIP

This commit is contained in:
Dmitry Maksyoma
2021-01-07 00:36:52 +13:00
parent 5154f86b60
commit 702f817845
4 changed files with 35 additions and 2 deletions

6
builder/build-deb Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
set -e
dpkg-buildpackage -us -uc -b
lintian ../*.deb

10
builder/build-tarball Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
set -e
cd "$(dirname "$0")/.."
docker pull ubuntu:18.04
docker build -t kasmvncbuilder:18.04 -f builder/dockerfile.ubuntu1804.build .
mkdir -p builder/build
docker run -v ${PWD}/builder/build:/build --rm kasmvncbuilder:18.04

View File

@@ -0,0 +1,8 @@
FROM ubuntu:18.04
RUN apt-get update && \
apt-get -y install vim build-essential devscripts equivs
COPY ./debian/control /tmp
RUN echo YYY | mk-build-deps --install /tmp/control