This repo holds the source for the fabric8's S2I builder images for OpenShift.
The S2I Java builder can be used to use generate Java S2I builds for flat classpath applications. It supports flat-classpath and fat-jar packaged applications, leveraging the run-java-sh project.
The Karaf S2I Builder image is used for creating S2I builds for Karaf based applications.
The project use fish-pepper to generete images/Dockerfiles, so do not directly change run-java.sh
.
Instead:
- makes your change in run-java-sh project.
- download and install fish-pepper from
master
. - run it like
path/to/fishpepperrepo/fish-pepper.js
both in./java
and.karaf
directories.
If you have errors please remove .fp-git-blocks/
direcoties under both ./java
and .karaf
.
Please keep the CHANGELOG.md up-to-date.
Simply creating a tag (and pushing it remote) will make Circle CI push a release of fabric8/s2i-java to Docker Hub:
git tag -a v3.0.0 -m "release v3.0.0"
git push origin v3.0.0
We also automatically publish from the master
branch to latest-*
tags.