This repository contains the source code for three flavors of Docker images for XL Deploy:
-
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 Deploy from the XebiaLabs distribution site and put it in the resources
directory. For example, to build the image for XL Deploy 8.1.0, put the file called xl-deploy-8.1.0-server.zip
in the resources
directory.
To build the regular, Debian slim-based image:
$ docker build --build-arg XLD_VERSION=8.1.0 --tag xebialabs/xl-deploy:8.1 --tag xebialabs/xl-deploy:8.1-debian-slim --tag xebialabs/xl-deploy:8.1.0 --tag xebialabs/xl-deploy:8.1.0-debian-slim -f debian-slim/Dockerfile .
To publish the regular, Debian slim-based image:
$ docker push xebialabs/xl-deploy:8.1
$ docker push xebialabs/xl-deploy:8.1-debian-slim
$ docker push xebialabs/xl-deploy:8.1.0
$ docker push xebialabs/xl-deploy:8.1.0-debian-slim
To build the alternative, CentOS-based image:
$ docker build --build-arg XLD_VERSION=8.1.0 --tag xebialabs/xl-deploy:8.1-centos --tag xebialabs/xl-deploy:8.1.0-centos -f centos/Dockerfile .
To publish the alternative, CentOS-based image:
$ docker push xebialabs/xl-deploy:8.1-centos
$ docker push xebialabs/xl-deploy:8.1.0-centos