forked from mesos/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged jre installation into base image. mesos#347 will eventually re…
…place that
- Loading branch information
Showing
4 changed files
with
42 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
FROM mesosphere/mesos:0.22.1-1.0.ubuntu1404 | ||
|
||
RUN apt-get update && apt-get install -y software-properties-common | ||
|
||
RUN echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections && \ | ||
add-apt-repository -y ppa:webupd8team/java && \ | ||
apt-get update && \ | ||
apt-get install -y oracle-java8-installer && \ | ||
rm -rf /var/lib/apt/lists/* && \ | ||
rm -rf /var/cache/oracle-jdk8-installer && \ | ||
rm -rf \ | ||
/usr/lib/jvm/java-8-oracle/*src.zip \ | ||
/usr/lib/jvm/java-8-oracle/lib/missioncontrol \ | ||
/usr/lib/jvm/java-8-oracle/lib/visualvm \ | ||
/usr/lib/jvm/java-8-oracle/lib/*javafx* \ | ||
/usr/lib/jvm/java-8-oracle/jre/lib/plugin.jar \ | ||
/usr/lib/jvm/java-8-oracle/jre/lib/ext/jfxrt.jar \ | ||
/usr/lib/jvm/java-8-oracle/jre/bin/javaws \ | ||
/usr/lib/jvm/java-8-oracle/jre/lib/javaws.jar \ | ||
/usr/lib/jvm/java-8-oracle/jre/lib/desktop \ | ||
/usr/lib/jvm/java-8-oracle/jre/plugin \ | ||
/usr/lib/jvm/java-8-oracle/jre/lib/deploy* \ | ||
/usr/lib/jvm/java-8-oracle/jre/lib/*javafx* \ | ||
/usr/lib/jvm/java-8-oracle/jre/lib/*jfx* \ | ||
/usr/lib/jvm/java-8-oracle/jre/lib/amd64/libdecora_sse.so \ | ||
/usr/lib/jvm/java-8-oracle/jre/lib/amd64/libprism_*.so \ | ||
/usr/lib/jvm/java-8-oracle/jre/lib/amd64/libfxplugins.so \ | ||
/usr/lib/jvm/java-8-oracle/jre/lib/amd64/libglass.so \ | ||
/usr/lib/jvm/java-8-oracle/jre/lib/amd64/libgstreamer-lite.so \ | ||
/usr/lib/jvm/java-8-oracle/jre/lib/amd64/libjavafx*.so \ | ||
/usr/lib/jvm/java-8-oracle/jre/lib/amd64/libjfx*.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,14 @@ | ||
apply plugin: 'java' | ||
|
||
ext { | ||
imageName = imagePrefix + '/elasticsearch-base' | ||
} | ||
|
||
task taskCopyFilesForDocker(type: Copy) { | ||
// Nothing to copy, but required by docker build | ||
} | ||
|
||
|
||
dependencies { | ||
compile "com.beust:jcommander:1.48" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters