Skip to content

Latest commit

 

History

History

java-hello-world

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

java-hello-world

A ReallySimple(TM) standalone Java application which says "Hello world!". It also comes with a Dockerfile which builds a container image, based on the openjdk image on DockerHub

To build:

javac HelloWorld.java

To build a container:

docker build -t java-hello-world .

To run it:

docker run java-hello-world