Skip to content

fabric8io-images/java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

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.