Getting started with webMethods Microservices Runtime with Docker and Jenkins

1. Overview

This article provides one of the ways to create Docker images and push the Docker image into Docker hub. Following use cases are considered for creating Docker images 

  1. Create a Docker image for webMethods Microservices Runtime (MSR) starting with the installation of MSR on on-prem.
  2. Create a Docker image for webMethods Microservices Runtime from the base Docker image published on Docker Hub.
  3. Create configuration files by exporting deployable assets from webMethods Microservices Runtime

2. Prerequisites

This article assumes that you have installed Docker and Jenkins in your environment. Follow the link https://github.com/SoftwareAG/webmethods-microservicesruntime-samples/blob/master/docker/jenkins/README.md#prerequisites that provides details on installing Docker and Jenkins.

3. Create Docker image with installation on on-prem

Follow the link https://github.com/SoftwareAG/webmethods-microservicesruntime-samples/blob/master/docker/jenkins/README_MSR_Docker.md that provides step-by-step instructions on creating Docker image on-prem starting with the installation and installing the latest fixes. 

This sample performs the following steps using the Jenkins pipeline

  1. Install webMethods Microservices Runtime
  2. Install Software AG Update Manager
  3. Install fixes
  4. Configure webMethods Microservices Runtime
  5. Create a Docker image from an installed and configured webMethods Microservices Runtime
  6. Run tests against the Docker container started using the Docker image created above
  7. Push the created Docker image into Docker registry

If steps you follow are successful, you will see Jenkins Pipeline below after the execution.

4. Create Docker Image with image published on Docker Hub

Follow the link https://github.com/SoftwareAG/webmethods-microservicesruntime-samples/blob/master/docker/jenkins/README_MSR_DockerHub.md that provides step-by-step instructions on creating a Docker image from the Docker image published on Docker Hub. 

This sample performs the following steps using the Jenkins pipeline

  1. Pull Docker image of webMethods Microservices Runtime from Docker Hub
  2. Configure webMethods Microservices Runtime
  3. Create a Docker image from configured webMethods Microservices Runtime
  4. Run tests against the Docker container started using the Docker image created above
  5. Push the created Docker image into Docker registry

If steps you follow are successful, you will see Jenkins Pipeline below after the execution.

5. Create Configuration Files

Follow the link https://github.com/SoftwareAG/webmethods-microservicesruntime-samples/blob/master/docker/jenkins/README.md#create-configuration-files that provides instructions on how to create ACDL and binary file that can be used to provision webMethods Microservices Runtime during the creation of Docker images. 

This sample allows creating the configuration files (isconfiguration.acdl and isconfiguration.zip).