Skip to content

Files

Latest commit

a8ec29a · Jul 30, 2020

History

History
This branch is up to date with monodot/container-up:master.

java-hello-world

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 30, 2020
Jul 30, 2020
Jul 30, 2020

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