Use OpenJDK8 instead of Oracle for IT docker

This commit is contained in:
jon-wei 2017-10-17 14:24:16 -07:00
parent 43051829f2
commit 55ea163bb5
1 changed files with 2 additions and 5 deletions

View File

@ -3,13 +3,10 @@ FROM ubuntu:14.04
# Java 8
RUN apt-get update \
&& apt-get install -y software-properties-common \
&& apt-add-repository -y ppa:webupd8team/java \
&& add-apt-repository -y ppa:openjdk-r/ppa \
&& apt-get purge --auto-remove -y software-properties-common \
&& apt-get update \
&& echo oracle-java-8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections \
&& apt-get install -y oracle-java8-installer \
&& apt-get install -y oracle-java8-set-default \
&& rm -rf /var/cache/oracle-jdk8-installer
&& apt-get install -y openjdk-8-jdk
# MySQL (Metadata store)
RUN apt-get install -y mysql-server