Automated build for UpLibs/docker-jar-runner
1.4K
This image was designed to allow the easy deployment of an standalone Java applications (cough microservices cough) on a very lightweight container, based on Alpine Linux.
Provided some environment variable, docker-jar-runner is capable of downloading a distribution (zip or jar), from a Nexus repository manager or Azure storage service, and runnning it.
Zip files are currently only supported for distributions generated by Gradle's distZip task
Simply execute the following docker run commands, replacing the placeholder values of the environment variables
docker run -p 8080:8080 -e STORAGE_TYPE=nexus -e STORAGE_ACCOUNT=username -e STORAGE_PASSWORD=userpassword -e STORAGE_REPOSITORY=releases -e NEXUS_URL=http://nexus.domain.com -e ARTIFACT_GROUP=com.domain -e ARTIFACT_NAME=your-artifact-name -e ARTIFACT_VERSION=the-desired-version -e ARTIFACT_EXTENSION=zip -e YOUR_PROPERTY=prop-value uppoints/docker-jar-runner
docker run -p 8080:8080 -e STORAGE_TYPE=azure -e STORAGE_ACCOUNT=accountname -e STORAGE_PASSWORD=accountkey -e STORAGE_REPOSITORY=container-name -e ARTIFACT_NAME=your-artifact-name -e ARTIFACT_VERSION=the-desired-version -e ARTIFACT_EXTENSION=zip -e YOUR_PROPERTY=prop-value uppoints/docker-jar-runner
Content type
Image
Digest
Size
70.4 MB
Last updated
over 10 years ago
docker pull uppoints/docker-jar-runner