Built from
quay.io/ibm/ubuntu:20.04
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.
Java is a registered trademark of Oracle and/or its affiliates.
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 quay.io/ibm/openjdk:11.0.8
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
View license information for the software contained in this image.
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).
Some additional license information which was able to be auto-detected might be found in the repo-info
repository's openjdk/
directory.
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.