Sign inSign up

alisonalonso/java

By alisonalonso

Updated over 10 years ago

Oracle Java Runtime Environment 8

Image
0

615

alisonalonso/java repository overview

Java Oracle

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

How to use

Running Java Apps
$ docker run -it --rm -v $(pwd):/app -w /app alisonalonso/java:jre8 java MyApp
Compile your app in a container

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

Tag summary

Content type

Image

Digest

Size

144.1 MB

Last updated

over 10 years ago

docker pull alisonalonso/java:jre8