Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

Docker image with Oracle JDK 7

Most Dockerfile I've seen so far install Java using apt-get package manager. As Oracle license prevent this one to be available in default distribution repository, some use alternate builds (openJDK) or custom PPA repositories.

As installing Java is a basic process - untar, done - I can't see a major benefit in using system packages. So this Dockerfile download the official Oracle binaries (accepting license) and unpack it. For convenience, symlinks are created to /usr/local/bin - arguably could rely on JAVA_HOME/bin set in PATH

Docker Pull Command
Source Repository

Comments (1)
3 years ago

Cool work, would be even cooler if you could tag some version of JDK7 to target a specific one.

And even touché coolésh, would bi to have a tag for Java 6. :-)