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.17 | docker pull icr.io/ibmz/openjdk@sha256:386109dbd4bf4b427dd1e0e7bac0c3420e418f868eb6413eefe14be3cf8d9be1 | Vulnerability Report | 12-14-2023 | 16 | docker pull icr.io/ibmz/openjdk@sha256:068a14b2d3bb100ad946a8f88d3f76d1fdee4d9e531fd50945de3448a75bbbf9 | Vulnerability Report | 12-14-2023 | 11 | docker pull icr.io/ibmz/openjdk@sha256:8e0caa2ac48f6268ca3f2d96bf677c988854582100d1504d42352e9be19e1b39 | Vulnerability Report | 12-14-2023 |
Version | Pull String | Security (IBM Cloud) | Created |
---|---|---|---|
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