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

szetszwo pushed a commit to branch RATIS-4
in repository https://gitbox.apache.org/repos/asf/ratis-hadoop-projects.git

commit 647517df9f261788048e1d8d64def7942d1c5b5c
Author: Jitendra Pandey <[email protected]>
AuthorDate: Mon Oct 30 23:42:53 2017 -0700

    Replace Oracle Java with OpenJDK Java
---
 dev-support/docker/Dockerfile | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/dev-support/docker/Dockerfile b/dev-support/docker/Dockerfile
index 606d314..a5d29cb 100644
--- a/dev-support/docker/Dockerfile
+++ b/dev-support/docker/Dockerfile
@@ -38,19 +38,13 @@ RUN apt-get -q update && apt-get -q install 
--no-install-recommends -y \
     git
 
 #######
-# Oracle Java
+# OpenJDK Java
 #######
 
 RUN echo "dot_style = mega" > "/root/.wgetrc"
 RUN echo "quiet = on" >> "/root/.wgetrc"
 
-RUN apt-get -q install --no-install-recommends -y software-properties-common
-RUN add-apt-repository -y ppa:webupd8team/java
-RUN apt-get -q update
-
-# Auto-accept the Oracle JDK license
-RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select 
true | sudo /usr/bin/debconf-set-selections
-RUN apt-get -q install --no-install-recommends -y oracle-java8-installer
+RUN apt-get -q install -y openjdk-8-jdk
 
 ######
 # Install protobuf compiler 3.1

Reply via email to