Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

blacklabelops-legacy/java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

204 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dockerized Java Images

Supported OpenJDK Images

Java Version Tag Dockerfile
Java JRE 8 openjre.8 Dockerfile
Java JDK 8 openjdk.8 Dockerfile

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.

References

About

Dockerized OpenJDK.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors