webMethods

 View Only
  • 1.  How to create custom images with docker

    Posted Wed October 30, 2024 12:47 PM

    Hi All

    I am looking for practical steps to create custom docker images for Integration server. 

    From containers.softwareag.com when we run the IS image there is no JDBC Adapters, Kafka, SAP or Deployer in the Integration Server image.

    How to build the custom image can someone guide me with the steps for this.

    Regards

    Abhijith



    ------------------------------
    Abhijith Parre
    ------------------------------


  • 2.  RE: How to create custom images with docker

    Posted Wed October 30, 2024 02:09 PM

    Please refer to this following article

    https://tech.forums.softwareag.com/t/building-an-integration-microservice-from-a-to-z-with-webmethods-and-kubernetes/267171

    I will be migrating it to the this site hopefully soon, but the premise will be the same.

    JDBC, SAP and Kafka are available via https://packages.webmethods.io as long as you connect with a valid empower id.

    regards,

    John.



    ------------------------------
    John Carter
    ------------------------------



  • 3.  RE: How to create custom images with docker

    Posted Mon November 04, 2024 04:16 AM

    Hi John

    Thank you for the link. In packages.webmethods.io i couldnt find the packages for JDBC and Kafka i have valid empower credentials. 

    I did the following approach please correct me if i am wrong here. 

    I have created a dockerfile inside C:\SoftwareAG\IntegrationServer\instances\default\packages with the following content

    FROM sagcr.azurecr.io/webmethods-microservicesruntime:10.15
    COPY WmJDBCAdapter /opt/softwareag/IntegrationServer/packages/WmJDBCAdapter
    COPY WmKafkaAdapter /opt/softwareag/IntegrationServer/packages/WmKafkaAdapter

    executed the command docker build -t sagmsr:test .

    Ran the docker command

    docker run -dp 3333:5555 sag-msr:test. 

    And i could see container is spun up with the JDBC and Kafka adapter package so i want to know if this approach is correct and recommended?

    So basically what i did is i installed a full IS on my local and then created a Dockerfile in packages location and build and run that image. 



    ------------------------------
    Abhijith Parre
    ------------------------------



  • 4.  RE: How to create custom images with docker

    Posted Mon November 04, 2024 06:18 AM

    Hi Abhijith,

    Yes what you did is correct. However, it requires that you first install locally and that would include running update manager too. This would greatly complicate your build process hence why we invented the package manager and registry so that you no longer need to do that.

    Please send me you empower id (NOT password) to my email address as j.carter@ibm.com and I will ensure that you are added to the distribution list for the JDBC and Kafka adapters.

    all the best,

    John.



    ------------------------------
    John Carter
    ------------------------------