You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by bt...@apache.org on 2019/08/26 02:07:35 UTC

[james-project] 01/14: JAMES-2872 Upgrade jdk version for website doc docker compilation

This is an automated email from the ASF dual-hosted git repository.

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit c1103fe7dc05aa8af0ca9b5858cd586bde78b587
Author: Rene Cordier <rc...@linagora.com>
AuthorDate: Fri Aug 23 10:09:35 2019 +0700

    JAMES-2872 Upgrade jdk version for website doc docker compilation
---
 dockerfiles/site/website/Dockerfile | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/dockerfiles/site/website/Dockerfile b/dockerfiles/site/website/Dockerfile
index 2c53af7..959eae2 100644
--- a/dockerfiles/site/website/Dockerfile
+++ b/dockerfiles/site/website/Dockerfile
@@ -2,17 +2,17 @@
 #
 # VERSION	1.0
 
-FROM openjdk:8u171-jdk
-
-# Install Maven
-WORKDIR /root
-RUN wget https://archive.apache.org/dist/maven/maven-3/3.5.2/binaries/apache-maven-3.5.2-bin.tar.gz
-RUN tar -xvf apache-maven-3.5.2-bin.tar.gz
-RUN ln -s /root/apache-maven-3.5.2/bin/mvn /usr/bin/mvn
+FROM adoptopenjdk:11-jdk-hotspot
 
 # Install git
 RUN apt-get update
-RUN apt-get install -y git
+RUN apt-get install -y git wget unzip
+
+# Install Maven
+WORKDIR /root
+RUN wget https://archive.apache.org/dist/maven/maven-3/3.6.1/binaries/apache-maven-3.6.1-bin.tar.gz
+RUN tar -xvf apache-maven-3.6.1-bin.tar.gz
+RUN ln -s /root/apache-maven-3.6.1/bin/mvn /usr/bin/mvn
 
 # Copy the script
 COPY compile.sh /root/compile.sh


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org