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

rafaelnovello pushed a commit to branch MARVIN-58
in repository https://gitbox.apache.org/repos/asf/incubator-marvin.git

commit ffc6ccad76f3cdd86d1d68d6092e2bb6f32ac687
Author: Rafael Novello <rafael.nove...@lendico.com.br>
AuthorDate: Tue Jun 11 17:50:28 2019 -0300

    Update the engine template Dockerfile to install opensdk
---
 .travis.yml                                                    |  2 +-
 .../management/templates/python-engine/Dockerfile              | 10 +++-------
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 46e7922..acd19ff 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,7 +18,7 @@ matrix:
     - language: scala
       scala:
         - 2.12.6
-      jdk: oraclejdk8
+      jdk: openjdk8
       cache:
         directories:
         - $HOME/.sbt
diff --git 
a/python-toolbox/marvin_python_toolbox/management/templates/python-engine/Dockerfile
 
b/python-toolbox/marvin_python_toolbox/management/templates/python-engine/Dockerfile
index bb77140..06ba31f 100644
--- 
a/python-toolbox/marvin_python_toolbox/management/templates/python-engine/Dockerfile
+++ 
b/python-toolbox/marvin_python_toolbox/management/templates/python-engine/Dockerfile
@@ -59,12 +59,8 @@ RUN apt-get update -y && \
 
 RUN pip install virtualenvwrapper
 
-# Install Oracle JDK
-RUN add-apt-repository ppa:webupd8team/java -y && \
-    apt-get -qq update && \
-    echo debconf shared/accepted-oracle-license-v1-1 select true | 
debconf-set-selections && \
-    echo debconf shared/accepted-oracle-license-v1-1 seen true | 
debconf-set-selections && \
-    apt-get install -y oracle-java8-installer    
+# Install Open JDK
+RUN apt-get update && apt-get install -y openjdk-8-jdk
 
 
 ##############################################################
@@ -113,4 +109,4 @@ EXPOSE 8000
 CMD /bin/bash -c "source /usr/local/bin/virtualenvwrapper.sh && \
     workon $MARVIN_ENGINE_ENV && \
     cd $MARVIN_ENGINE_HOME && \
-    marvin engine-httpserver -h 0.0.0.0 -p 8000"
\ No newline at end of file
+    marvin engine-httpserver -h 0.0.0.0 -p 8000"

Reply via email to