Public Repository

Last pushed: a year ago
Short Description
Disk optimized (136 MB) Centos 7 Oracle JRE 8
Full Description

FROM centos:7
MAINTAINER maaydin
ENV container docker

Environment Variables

ENV ORACLE_JRE_VERSION="8u91" ORACLE_JRE_BUILD_NUMBER="b14"

Install Oracle JDK

curl -v -L -H "Cookie: oraclelicense=accept-securebackup-cookie" -o /tmp/jre-$ORACLE_JRE_VERSION-linux-x64.rpm http://download.oracle.com/otn-pub/java/jdk/$ORACLE_JRE_VERSION-$ORACLE_JRE_BUILD_NUMBER/jre-$ORACLE_JRE_VERSION-linux-x64.rpm; \
rpm -ivh /tmp/jre-$ORACLE_JRE_VERSION-linux-x64.rpm;

Clean up

RUN yum clean all; \
rm -f /tmp/*;

VOLUME [ "/sys/fs/cgroup" ]
CMD ["/usr/sbin/init"]

Docker Pull Command
Owner
maaydin