Creating the TIBCO BusinessWorks™ Container Edition Base Docker Image for Linux Containers

Prerequisites

  • Download the TIBCO BusinessWorks™ Container Edition runtime zip file, bwce-runtime-<version>.zip, from http://edelivery.tibco.com.

    To download this file,

    1. Select Container from the Operating Systems drop down list.
    2. Read and Accept the TIBCO End User License Agreement.
    3. Select the radio button for Individual file Download.
    4. Click the + sign to view the individual components and select bwce-runtime-<version>.zip.
  • An installation of Docker.

Procedure

  1. Navigate to the TIBCO_HOME/bwce/<version>/docker directory.
  2. Copy the bwce-runtime-<version>.zip file to the TIBCO_HOME/bwce/<version>/docker/resources/bwce-runtime folder.
  3. Open a command terminal and execute the following command from the TIBCO_HOME/bwce/<version>/docker folder:
    docker build -t TAG-NAME . 
    
    

    For example,

    docker build -t tibco/bwce:latest .
    By default, the debian:jessie-slim image is used to create base Docker image for TIBCO BusinessWorks Container Edition. You can also change the image with the following Dockerfile content.
    • Dockerfile content for openSUSE:
      FROM opensuse
      LABEL maintainer="Cloud Software Group, Inc."
      ADD . /
      RUN chmod 755 /scripts/*.sh && zypper -n update && zypper -n refresh && zypper -n in unzip openssh net-tools
      ENTRYPOINT ["/scripts/start.sh"]
    • Dockerfile content for CentOS 7:
      FROM centos:7
      LABEL maintainer="Cloud Software Group, Inc."
      ADD . /
      RUN chmod 755 /scripts/*.sh && yum -y update && yum -y install unzip ssh net-tools
      ENTRYPOINT ["/scripts/start.sh"]
    • Dockerfile content for openjdk:8-jdk-alpine
      FROM openjdk:8-jdk-alpine
      LABEL maintainer="Cloud Software Group, Inc."
      ADD . /
      RUN chmod 755 /scripts/*.sh && apk update && apk add unzip openssh net-tools
      ENTRYPOINT ["/scripts/start.sh"]
    • Dockerfile content for rhel7-minimal
      FROM registry.access.redhat.com/rhel7-minimal
      LABEL maintainer="Cloud Software Group, Inc."
      ADD . /
      RUN chmod 777 scripts/*.sh && microdnf install unzip net-tools --enablerepo=rhel-7-server-rpms && \
      microdnf update; microdnf clean all
      ENTRYPOINT ["/scripts/start.sh"]
      Note: Ensure that you have valid Red Hat subscription for using rhel7-minimal.
    • Dockerfile content for Redhat Standard OS:
      FROM registry.access.redhat.com/rhel7/rhel
      LABEL maintainer="Cloud Software Group, Inc."
      ADD . /
      RUN chmod 777 scripts/*.sh && yum install -y unzip ssh net-tools && \
      yum update -y; yum clean all
      ENTRYPOINT ["/scripts/start.sh"]

Result

The TIBCO BusinessWorks™ Container Edition base Docker image is now created. This base Docker image can now be used to create Docker application images.