pixie79 / docker-openjdk8-jre

Open Java JRE Only

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Java JRE Container

Build Status

Docker container that also includes Open Java 8 JRE install for running production applications.

Getting Started

These instructions will cover usage information and for the docker container

Prerequisites

In order to run this container you'll need docker installed.

Usage

Normally, this would be used as a base image for a Java application. The example Dockerfile below will add custom artefacts and an entrypoint to run them. There is an onbuild trigger which will calls the downstream (child) docker images to upgrade the java-openjdk on each iteration

# Use this repo
FROM quay.io/ukhomeofficedigital/openjdk8-jre:v0.2.0

# Add application artefacts
ENV app_deploy_path=/var/lib/myapp
COPY my_jars/* ${app_deploy_path}/
ENTRYPOINT ["java -jar ${app_deploy_path}/myapp.jar"]

Contributing

Feel free to submit pull requests and issues. If it's a particularly large PR, you may wish to discuss it in an issue first.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments

About

Open Java JRE Only

License:MIT License