Return to Image List

openjdk

openjdk

OpenJDK (Open Java Development Kit) is a free and open source implementation of the Java Platform, Standard Edition (Java SE). OpenJDK is the official reference implementation of Java SE since version 7. wikipedia.org/wiki/OpenJDK Java is a registered trademark of Oracle and/or its affiliates.

See openjdk.java.net for more information

This image is built by IBM to run on the IBM Z architecture and is not affiliated with any other community that provides a version of this image.


License

View license information here

As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).

As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.


Versions

Use the pull string below for the version of this image you require.
17 docker pull icr.io/ibmz/openjdk@sha256:386109dbd4bf4b427dd1e0e7bac0c3420e418f868eb6413eefe14be3cf8d9be1 Vulnerability Report12-14-2023
16 docker pull icr.io/ibmz/openjdk@sha256:068a14b2d3bb100ad946a8f88d3f76d1fdee4d9e531fd50945de3448a75bbbf9 Vulnerability Report12-14-2023
11 docker pull icr.io/ibmz/openjdk@sha256:8e0caa2ac48f6268ca3f2d96bf677c988854582100d1504d42352e9be19e1b39 Vulnerability Report12-14-2023
Version Pull String Security (IBM Cloud) Created

Usage Notes

The most straightforward way to use this image is to use a Java container as both the build and runtime environment. In your Dockerfile, writing something along the lines of the following will compile and run your project:

FROM icr.io/ibmz/openjdk:[version]
COPY . /usr/src/myapp
WORKDIR /usr/src/myapp
RUN javac Main.java
CMD ["java", "Main"]

You can then run and build the Docker image:

docker build -t my-java-app .
docker run -it --rm --name my-running-app my-java-app