/java

Java Base Images

Primary LanguageShellApache License 2.0Apache-2.0

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

The Java base images come in different flavors:

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.