Building and Extending an Adabas Docker Image
To build and extend an Adabas docker image:
1. Start a terminal emulator on the Linux server, type the appropriate user name and password, and navigate to the Adabas directory for Docker at /opt/softwareag/Adabas/docker/Adabas.
This directory will contain several files, including the Docker script file.
2. Run the following command:
docker build --build-arg sag_user_id=1234 --build-arg group_id=1234 --tag <Name of your image>:<Tag of your image> . -f./Dockerfile
The final output should read Successfully tagged <Name of your image>:<Tag of your image>
3. Once the Adabas image is properly built and configured, navigate to the directory you specified in the windows file transfer GUI for Adabas Event Replicator for LUW and run the following command to extend upon the docker image for Adabas to include Adabas Event Replicator for LUW:
docker build --build-arg IMAGE_NAME=<Name of your image from the previous step>:<Tag of your image from the previous step> --tag <Name of your image from the previous step>:<Tag of your image from the previous step> . -f./Dockerfile.eventproducer
Please note that the value of the build argument "IMAGE_NAME" must match the image name and tag name of the image built in the previous step.
The Adabas image must be built first before it can be extended to work with replication.
The final output should read Successfully tagged <Name of your image from the previous step>:<Tag of your image from the previous step>