Integration Server 11.1 | Integration Server Administrator's Guide | Using Integration Server with Docker | Pre-Built Docker Images for Integration Server and Microservices Runtime | Creating an Integration Server Image that Loads Custom Packages
 
Creating an Integration Server Image that Loads Custom Packages
You can add previously deployed packages to the pre-built Integration Server Docker image, resulting in an image that loads custom packages.
Add a Docker file with the following and create a new application_image using Docker build. Make sure to use the correct base Docker image in Dockerfile.
FROM dockerImageName
COPY * /opt/softwareag/IntegrationServer/instances/default/packages
Where dockerImageName is the name of the Docker image for Integration Server.
The application can then be started with:
docker run -dp 5555:5555 application_image
When starting the container, you can provide a license file in the SAG_IS_LICENSE_FILE environment variable . For example:
docker run -dp 5555:5555
-v /home/user/licenseKey.xml:/opt/softwareag/IntegrationServer/instances/default/config/licenseKey.xml
-e SAG_IS_LICENSE_FILE=/opt/softwareag/IntegrationServer/instances/default/config/licenseKey.xml
dockerImageName
In the example above, /home/user/licenseKey.xml is the license key located on the host machine.