This is an automated email from the ASF dual-hosted git repository. pdallig pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/master by this push: new 1f65f4d [ZEPPELIN-5556] Dockerfile jdk8 1f65f4d is described below commit 1f65f4d3a3b7a1b2cc1c4feacc604c8e9896f625 Author: Philipp Dallig <philipp.dal...@gmail.com> AuthorDate: Mon Oct 11 15:32:14 2021 +0200 [ZEPPELIN-5556] Dockerfile jdk8 ### What is this PR for? This PR changes the parent image to openjdk8, which does not include Maven, and the Spark profile from 3.0 to 3.1. ### What type of PR is it? - Improvement ### What is the Jira issue? * https://issues.apache.org/jira/browse/ZEPPELIN-5556 ### How should this be tested? * Manually ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Philipp Dallig <philipp.dal...@gmail.com> Closes #4247 from Reamer/dockerfile_jdk8 and squashes the following commits: e7aac269b [Philipp Dallig] Build with spark-3.1, which is now the default f9a03c55b [Philipp Dallig] Use openjdk8 image instead of a maven image --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3eeba49..4e35e4a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,15 +14,15 @@ # See the License for the specific language governing permissions and # limitations under the License. # -FROM maven:3.5-jdk-8 as builder +FROM openjdk:8 as builder ADD . /workspace/zeppelin WORKDIR /workspace/zeppelin # Allow npm and bower to run with root privileges RUN echo "unsafe-perm=true" > ~/.npmrc && \ echo '{ "allow_root": true }' > ~/.bowerrc && \ - ./mvnw -B package -DskipTests -Pbuild-distr -Pspark-3.0 -Pinclude-hadoop -Phadoop3 -Pspark-scala-2.12 -Pweb-angular && \ + ./mvnw -B package -DskipTests -Pbuild-distr -Pspark-3.1 -Pinclude-hadoop -Phadoop3 -Pspark-scala-2.12 -Pweb-angular && \ # Example with doesn't compile all interpreters - # ./mvnw -B package -DskipTests -Pbuild-distr -Pspark-3.0 -Pinclude-hadoop -Phadoop3 -Pspark-scala-2.12 -Pweb-angular -pl '!groovy,!submarine,!livy,!hbase,!pig,!file,!flink,!ignite,!kylin,!lens' && \ + # ./mvnw -B package -DskipTests -Pbuild-distr -Pspark-3.1 -Pinclude-hadoop -Phadoop3 -Pspark-scala-2.12 -Pweb-angular -pl '!groovy,!submarine,!livy,!hbase,!pig,!file,!flink,!ignite,!kylin,!lens' && \ mv /workspace/zeppelin/zeppelin-distribution/target/zeppelin-*/zeppelin-* /opt/zeppelin/ && \ # Removing stuff saves time, because docker creates a temporary layer rm -rf ~/.m2 && \