Simple docker container to pull external java app (ie spring boot) and run it.
100K+
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.
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
Content type
Image
Digest
Size
79.9 MB
Last updated
over 7 years ago
docker pull splazit/javaapp