Fabric8 Java Base Images
This is a repository for Java Docker base images used in various fabric8 projects.
The Docker build files for these images are generated by
fish-pepper, a sophisticated
template system for generation Docker builds. fish-pepper
allows
the composition of various building block so that parametrized Docker
builds are easy possible.
In order to regenerate all Dockerfiles from the provided templates you
need only to install fish-pepper
via npm (assuming that you have
node.js installed)
npm -g install fish-pepper
fish-pepper
Alternatively you can use also Docker for recreating the Docker build for the Java images:
docker run -it --rm -v `pwd`:/fp fabric8/fish-pepper
The Java base images come in different flavors:
- Based on CentOS 7 or Alpine Linux (experimental) or Red Hat Universal Base Image
- OpenJDK 7 or OpenJDK 8 or OpenJDK 11
- As JDK (Java Developer Toolkit) or as JRE (Java Runtime Environment)
All images add the following features:
- agent-bond is included which combines Jolokia and jmx_exporter
- A startup script run-java.sh is included which transparently starts Java application provided as FAT-jar or traditionally with a bunch of jar dependencies.
How to use these images and what environment variables can be used are described in the associated README files.