Update the engine template Dockerfile to install opensdk
diff --git a/.travis.yml b/.travis.yml
index 46e7922..acd19ff 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,7 +18,7 @@
- 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 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 @@
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"