This repository contains the source code for three flavors of Docker images for XL Release:
-
The regular image, which is based on Debian (slim) Linux flavor of the OpenJDK base image
-
An alternative image, which is based on the CentOS 7 base image and has OpenJDK 1.8 installed
-
The Red Hat-certified image, which is based on the registry.access.redhat.com/rhel7/rhel-atomic[Red Hat Enterprise Linux Atomic 7 base image] and has OpenJDK 1.8 installed
-
This document only describes how to build these images. For user documentation, please refer to the following packages from the XebiaLabs documentation site:
Before building an image, download the right version of the server ZIP for XL Release from the XebiaLabs distribution site and put it in the resources
directory. For example, to build the image for XL Release 8.1.0, put the file called xl-release-8.1.0-server.zip
in the resources
directory.
To build the regular, Debian slim-based image:
$ docker build --build-arg XLR_VERSION=8.1.0 --tag xebialabs/xl-release:8.1 --tag xebialabs/xl-release:8.1-debian-slim --tag xebialabs/xl-release:8.1.0 --tag xebialabs/xl-release:8.1.0-debian-slim -f debian-slim/Dockerfile .
To publish the regular, Debian slim-based image:
$ docker push xebialabs/xl-release:8.1
$ docker push xebialabs/xl-release:8.1-debian-slim
$ docker push xebialabs/xl-release:8.1.0
$ docker push xebialabs/xl-release:8.1.0-debian-slim
To build the alternative, CentOS-based image:
$ docker build --build-arg XLR_VERSION=8.1.0 --tag xebialabs/xl-release:8.1-centos --tag xebialabs/xl-release:8.1.0-centos -f centos/Dockerfile .
To publish the alternative, CentOS-based image:
$ docker push xebialabs/xl-release:8.1-centos
$ docker push xebialabs/xl-release:8.1.0-centos