From 3f7295e3a8b0aa7cb93b53846345b841e9a773ee Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 10 Oct 2016 15:24:06 +0200 Subject: [PATCH] Create debs with Docker --- id-deb-build/docker-build.sh | 172 ++++++++++++++++++++++++++++++++++++++++++ id-deb-build/in-docker.sh | 34 +++++++++ 2 files changed, 206 insertions(+) create mode 100755 id-deb-build/docker-build.sh create mode 100755 id-deb-build/in-docker.sh diff --git a/id-deb-build/docker-build.sh b/id-deb-build/docker-build.sh new file mode 100755 index 0000000..ad8a797 --- /dev/null +++ b/id-deb-build/docker-build.sh @@ -0,0 +1,172 @@ +#!/bin/sh +usage() +{ + cat </etc/apt/sources.list.d/indexdata.list +apt-get update + +mk-build-deps +dpkg -i *-build-deps_*_all.deb || apt-get install -f -y +rm *-build-deps_*_all.deb +dpkg-buildpackage -rfakeroot +RET=$? + +exit $RET + +# Local Variables: +# mode:shell-script +# sh-indentation: 4 +# sh-basic-offset: 4 +# End: + -- 1.7.10.4