Sign inSign up

splazit/javaapp

By splazit

Updated over 7 years ago

Simple docker container to pull external java app (ie spring boot) and run it.

Image
0

100K+

splazit/javaapp repository overview

Running standalone app with OpenJDK and Alpine

This image is based on 8-jdk-alpine tag of OpenJDK Alpine.

This simple image will download your external application (ie an spring boot app) and then run it. Everything is contained within the container.

There are 3 environment variables you can pass into the image: APP_URL (required), JAVA_OPTS and APP_OPTS.

Usage Example

Run in an interactive mode and watch the log (if you app logs to the console).

$ docker run -it --rm -e APP_URL='https://www.ssosol.com/download/demo.jar' -e JAVA_OPTS='-Duser.timezone=America/Edmonton' splazit/javaapp:jdk8

Tag summary

Content type

Image

Digest

Size

79.9 MB

Last updated

over 7 years ago

docker pull splazit/javaapp