You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by st...@apache.org on 2017/09/11 08:47:46 UTC
maven-integration-testing git commit: Adding a Zulu JDK 7 environment
Repository: maven-integration-testing
Updated Branches:
refs/heads/master 2233f421c -> a08d65bfb
Adding a Zulu JDK 7 environment
Project: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/commit/a08d65bf
Tree: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/tree/a08d65bf
Diff: http://git-wip-us.apache.org/repos/asf/maven-integration-testing/diff/a08d65bf
Branch: refs/heads/master
Commit: a08d65bfb5fedec9f684c13bf5a0dccb96f5cc56
Parents: 2233f42
Author: Stephen Connolly <st...@gmail.com>
Authored: Mon Sep 11 09:47:45 2017 +0100
Committer: Stephen Connolly <st...@gmail.com>
Committed: Mon Sep 11 09:47:45 2017 +0100
----------------------------------------------------------------------
environments/zulu-jdk7/Dockerfile | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/maven-integration-testing/blob/a08d65bf/environments/zulu-jdk7/Dockerfile
----------------------------------------------------------------------
diff --git a/environments/zulu-jdk7/Dockerfile b/environments/zulu-jdk7/Dockerfile
new file mode 100644
index 0000000..676307a
--- /dev/null
+++ b/environments/zulu-jdk7/Dockerfile
@@ -0,0 +1,34 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+FROM azul/zulu-openjdk:7
+
+RUN apt-get update &&\
+ apt-get upgrade -y ca-certificates &&\
+ apt-get install -y --no-install-recommends git curl &&\
+ rm -rf /var/lib/apt/lists/*
+
+ARG MAVEN_VERSION=3.3.9
+ARG USER_HOME_DIR="/root"
+
+RUN mkdir -p /usr/share/maven /usr/share/maven/ref \
+ && curl -fsSL http://apache.osuosl.org/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz \
+ | tar -xzC /usr/share/maven --strip-components=1 \
+ && ln -s /usr/share/maven/bin/mvn /usr/bin/mvn
+
+ENV MAVEN_HOME /usr/share/maven
+ENV MAVEN_CONFIG "$USER_HOME_DIR/.m2"