improved build, so that build in docker does not depend on the hosting system

This commit is contained in:
Marc Wäckerlin
2016-12-07 12:35:40 +00:00
parent 86cc10fc11
commit 9e29ffddb4
3 changed files with 7 additions and 5 deletions

View File

@@ -10,7 +10,7 @@ mode="deb"
img="ubuntu:latest"
repos=()
keys=()
envs=("-e HOME=/home/$(id -un)" "-e TERM=xterm")
envs=("-e HOME=/home/$(id -un)" "-e TERM=xterm" "-e DEBIAN_FRONTEND=noninteractive" "-e DEBCONF_NONINTERACTIVE_SEEN=true")
dirs=("-v $(pwd):/workdir" "-v ${HOME}/.gnupg:/home/$(id -un)/.gnupg:ro")
packages=()
targets="all check distcheck"
@@ -243,7 +243,6 @@ case $mode in
docker exec ${DOCKER_ID} ./resolve-debbuilddeps.sh
;;
(rpm|yum|dnf|zypper)
./bootstrap.sh -t dist
docker exec ${DOCKER_ID} ./resolve-rpmbuilddeps.sh || true
;;
esac