This repository contains examples of building docker (or podman) images and containers for Progress Semaphore 5 using Oracle Enterprise Linux 7. The required software components are not within the repository. Please read the steps below before attempting to build and run the containers.
The basic workflow for building and running docker containers is as follows:
- Gather required software modules (JDK, Semaphore RPMs) and related files (licenses). Make sure to use the correct JDK 11 to match your Docker host architecture.
- Build the docker image (Dockerfile) or use docker compose. A compose.yml file is provided above the separate image folders.
- Build the container container and run.
- Stop container and start container in the standard way (docker stop, docker start).
- Gather Java and Semaphore RPMs and license files needed to build the images. Look in each Dockerfile for requirements. These are examples intended as informational but should be modified. Make sure to use the correct architecture JDK for your images that matches your host architecture (e.g x86_64, aarch64, etc). (Note that at the current time, Classification Server only has an RPM for x86_64 architecture.)
- Construct the image by running build.sh script.
- Create a container and start the container using the run.sh script. The docker run command creates the container instance and starts it.
- Use a separate docker volume to mount /var/opt/semaphore/. This will ensure that data is preserved when you restart containers. See the run.sh for an example of using an external volume.
docker compose createdocker compose startdocker compose stopdocker compose down
docker ps
docker container ls -a
docker stop *container id*
docker start *container id*
docker image ls -a
docker volume ls
