Repository: couchdb-ci Updated Branches: refs/heads/master ebe4a3e81 -> 066daa75c
run CentOS container with LD_LIBRARY_PATH option Project: http://git-wip-us.apache.org/repos/asf/couchdb-ci/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-ci/commit/066daa75 Tree: http://git-wip-us.apache.org/repos/asf/couchdb-ci/tree/066daa75 Diff: http://git-wip-us.apache.org/repos/asf/couchdb-ci/diff/066daa75 Branch: refs/heads/master Commit: 066daa75c8bdf23102b69d7a7c3b2834126d9522 Parents: ebe4a3e Author: Bastian Krol <[email protected]> Authored: Mon Feb 8 14:58:32 2016 +0100 Committer: Bastian Krol <[email protected]> Committed: Mon Feb 8 14:58:32 2016 +0100 ---------------------------------------------------------------------- jenkins/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-ci/blob/066daa75/jenkins/build.sh ---------------------------------------------------------------------- diff --git a/jenkins/build.sh b/jenkins/build.sh index a6e6754..78b6d31 100755 --- a/jenkins/build.sh +++ b/jenkins/build.sh @@ -37,11 +37,13 @@ cd "$COUCHDB_CI_DIRECTORY" rm -f $DOCKERFILE # Just in case a stale one exists. DOCKER_IMAGE="basti1302/couchdb-build-" +DOCKER_OPTIONS="" case $OS in centos-7*) echo "Using CentOS 7" DOCKER_IMAGE=$DOCKER_IMAGE"centos-7-" + DOCKER_OPTIONS="-e LD_LIBRARY_PATH='/usr/local/lib'" ;; debian-8*) echo "Using Debian 8" @@ -74,4 +76,4 @@ esac docker pull $DOCKER_IMAGE -docker run $DOCKER_IMAGE +docker run $DOCKER_OPTIONS $DOCKER_IMAGE
