blacklabelops/java

By blacklabelops

Updated almost 8 years ago

Java Base Images.

Image
8

100K+

blacklabelops/java repository overview

Dockerized Java Images

Docker Stars Docker Pulls

Supported OpenJDK Images

Java VersionTagDockerfile
Java JRE 8openjre.8Dockerfile
Java JDK 8openjdk.8Dockerfile

Make It Short

$ docker run blacklabelops/java java -version

Will print the java version on console.

How-To Extend

Example Dockerfile:

FROM blacklabelops/java
MAINTAINER Your Name <[email protected]>

RUN Install-Your-Tooling

Will use Java JRE 8 as your base image.

Need the JDK?

Example Dockerfile:

FROM blacklabelops/java:jdk8
MAINTAINER Your Name <[email protected]>

RUN Install-Your-Tooling

Will use Java JDK 8 as your base image.

Build Image

Take a Dockerfile and build with the default arguments:

$ docker build -t blacklabelops/java -f java-openjdk/Dockerfile .

Build a specific version with the following build arguments:

  • JAVA_DISTRIBUTION: jdk, jre, or server-jre (default: jdk)
  • JAVA_MAJOR_VERSION: 7 or 8
  • JAVA_UPDATE_VERSION: The minor version.
  • JAVA_BUILD_NUMBER: The build number.

Support

Leave a message and ask questions on Hipchat: blacklabelops/hipchat

References

Tag summary

Content type

Image

Digest

Size

68.3 MB

Last updated

almost 8 years ago

docker pull blacklabelops/java:openjre.8.151