From 6af7b35b12daa6f2ff98b4d1eb3faa711d149b58 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Ho=C3=9F?= Date: Sun, 1 May 2016 17:45:39 +0200 Subject: [PATCH] add docker build env MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Sebastian Hoß --- build/docker/build-environment.yml | 16 ++++++++++++++++ build/docker/settings.xml | 20 ++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100755 build/docker/build-environment.yml create mode 100755 build/docker/settings.xml diff --git a/build/docker/build-environment.yml b/build/docker/build-environment.yml new file mode 100755 index 0000000..4b97636 --- /dev/null +++ b/build/docker/build-environment.yml @@ -0,0 +1,16 @@ +# +# This file is part of memoization.java. It is subject to the license terms in the LICENSE file found in the top-level +# directory of this distribution and at http://creativecommons.org/publicdomain/zero/1.0/. No part of memoization.java, +# including this file, may be copied, modified, propagated, or distributed except according to the terms contained +# in the LICENSE file. +# + +build: + image: maven:3.3.9-jdk-8 + volumes: + - "../../:/code" + - "~/.m2/repository/:/repository" + working_dir: /code + external_links: + - nexus_nexus_1:nexus + command: mvn clean verify -s build/docker/settings.xml -Dmaven.repo.local=/repository diff --git a/build/docker/settings.xml b/build/docker/settings.xml new file mode 100755 index 0000000..6cb5734 --- /dev/null +++ b/build/docker/settings.xml @@ -0,0 +1,20 @@ + + + + + + * + remote-repos + http://nexus:8081/content/groups/public/ + remote-repos + + + -- 2.11.4.GIT