Public | Automated Build

Last pushed: 2 years ago
Short Description
Provides a full working but minimalist docker image for full featured Oracle JDK.
Full Description

Oracle Binary Code License Agreement for Java SE

You must accept the Oracle Binary Code License Agreement for Java SE to use this software.

To do this, follow the steps below:
Read http://www.oracle.com/technetwork/java/javase/terms/license/index.html in your web browser.
Accept the license by choosing one of the following possibilities:
a) Place a readable file named /etc/oracle-javase-license-accepted with content yes.
OR
b) Provide an environment variable ORACLE_JAVASE_LICENSE_ACCEPTED with content yes.

Instant run

docker run -ti -env=ORACLE_JAVASE_LICENSE_ACCEPTED=yes echocat/oracle-jdk java -version

Dockerfile example

FROM echocat/oracle-jdk
COPY myApp.jar /opt/app
ENV ORACLE_JAVASE_LICENSE_ACCEPTED=yes
CMD java -jar /opt/app/myApp.jar
Docker Pull Command
Owner
echocat
Source Repository