Install openjdk from backports repo
Change-Id: I85c88f38fe8a5b74c943324884b9d61b33596879
This commit is contained in:
parent
e0c865b5a2
commit
f602a189a3
|
@ -3,7 +3,7 @@ MAINTAINER {{ maintainer }}
|
|||
|
||||
ENV JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk-amd64/
|
||||
|
||||
RUN apt-get -y install --no-install-recommends openjdk-8-jre \
|
||||
RUN apt-get -y install --no-install-recommends -t jessie-backports openjdk-8-jre \
|
||||
&& curl https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/{{ elasticsearch_version }}/elasticsearch-{{ elasticsearch_version }}.deb -o /tmp/elasticsearch.deb \
|
||||
&& dpkg -i /tmp/elasticsearch.deb \
|
||||
&& rm -f /tmp/elasticsearch.deb \
|
||||
|
|
Loading…
Reference in New Issue