Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 387 Bytes

README.md

File metadata and controls

15 lines (8 loc) · 387 Bytes

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