Instructions/Quick Start

Prerequisites
------------
Image sources have been provided to allow custom building of Business Automation
images. These are provided in two forms, standalone and OpenShift. The standalone
images must be built first, this also includes the standalone base images. The
sources for standalone base images can be found in:

https://github.com/jboss-container-images/

Some base images and their associated repositories that may be of interest:

* jboss/openjdk18-rhel7 | https://github.com/jboss-container-images/jboss-openjdk-image
* jboss-eap-7/eap71     | https://github.com/jboss-container-images/jboss-eap-7-image
* jboss/base-rhel7^      | https://github.com/jboss-container-images/jboss-base-image

When building these images, you must  build the release branch which is typically named
without any suffix (dev, cp). For example, base-rhel7 instead of base-rhel7-dev.

^ The JBoss base image depends on the rhel7 image, this image is available on the Red
Hat Container Catalog. To acquire the image, the source must be changed to refer   to
the latest image available in the stream, instead of "released".

Building Images
---------------

In order to build these images, you must use the Concreate tool in combination
with the sources provided under "src". Instructions for installing the tool can
be found here:

http://concreate.readthedocs.io/en/latest/installation.html

The images require the RHEL and RHSCL repositories, a sample configuration file
has been provided (concreate-config).

For more information on setting up a mirror of the RHEL and RHSCL repositories
see the following article:

https://access.redhat.com/solutions/23016

In addition to the RHEL and RHSCL repository definitions, this file also defines
the location of the binaries required by the images to build, point this to an
absolute path to the binaries, leaving the #filename# reference, for example:

cache_url = file:///tmp/binaries/#filename#

Once you have updated the Concreate configuration file run this from any
directory containing the image.yaml:

concreate build --build-engine=docker --config /path/to/concreate-config

For a full list of options to concreate, consult the documentation above.