Oracle Java Runtime Environment 8
615
This Dockerfile, prepares a dockers image to run Oracle Java 8 (JRE and JDK). By using this image, you acknowledge that you have read and accepted the terms of the end user license agreement
$ docker run -it --rm -v $(pwd):/app -w /app alisonalonso/java:jre8 java MyApp
To compile, but not run your app inside a Docker instance, you can use this:
$ docker run --rm -v $(pwd):/src alisonalonso/java:jdk8 javac MyApp.java
Content type
Image
Digest
Size
144.1 MB
Last updated
over 10 years ago
docker pull alisonalonso/java:jre8