From c5bb64338ab0fc629562fe17c440f182f3947e7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Wed, 25 Nov 2015 15:25:04 +0000 Subject: [PATCH] allow add repositories (for cordova-cli) --- build-in-docker.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build-in-docker.sh b/build-in-docker.sh index 533aa63..bb07c16 100755 --- a/build-in-docker.sh +++ b/build-in-docker.sh @@ -9,6 +9,11 @@ docker exec ${DOCKER_ID} apt-add-repository universe docker exec ${DOCKER_ID} apt-add-repository https://dev.marc.waeckerlin.org/repository wget -O- https://dev.marc.waeckerlin.org/repository/PublicKey \ | docker exec -i ${DOCKER_ID} apt-key add - +if test -n "$*"; then + for p in $*; do + docker exec ${DOCKER_ID} apt-add-repository $p + done +fi docker exec ${DOCKER_ID} apt-get update docker exec ${DOCKER_ID} ./resolve-debbuilddeps.sh docker exec -u $(id -u) ${DOCKER_ID} svn upgrade || true