All of our images are created using the Cekit tool. Installation instructions can be found here.
The exact dependencies that you will require depends on the "builder" that you want to use in order to create your image. For example OSBS has different requirements to Docker.
We leverage cekit descriptor files in order to create the different image types.
server-openjdk.yaml
- Creates theinfinispan/server
image.server-native.yaml
- Creates theinfinispan/server-native
image.cli.yaml
- Creates theinfinispan/cli
image with a natively compiled cli.server-dev-native.yaml
- Creates theinfinispan/server-native
image using local artifact paths that must be added to the descriptor.cli-dev.yaml
- Creates theinfinispan/cli
image using a local cli executable that must be added to the descriptor.
We recommend pulling stable image releases from Quay.io or Docker Hub, however it is also possible to recreate stable releases of an image.
To recreate a given release, it's necessary to checkout the corresponding git tag and build using cekit --descriptor <descriptor-file> build <build-engine>
.
For example, the following commands will recreate the infinispan/server:10.0.0.Dev05
image.
git checkout 11.0.0.Dev05
cekit --descriptor server-openjdk.yaml build docker
The *-dev-*.yaml
descriptors can be used to create local images for development purposes. In order to use these it's
necessary to update the paths of the artifacts in the descriptor then issue the following command:
BUILD_ENGINE="podman"
DESCRIPTOR="server-dev-native.yaml"
cekit -v --descriptor $DESCRIPTOR build $BUILD_ENGINE