Step 5: Prepare TIBCO MFT Internet Server Docker Image

You must have root or sudo access to prepare the Docker image and create directories at the root level.

Procedure

  1. Execute the following commands to create directories.

    mkdir /mftdocker/mftis

    mkdir /mftdocker/mftis/tibco

    mkdir /mftdocker/mftis/java

  2. Copy the DockerFile.mftis from the distribution/Cloud directory.
    cp <MFT-Install>/cloud/k8s_samples/DockerFile.mftcc /mftdocker/mftis/
  3. Verify the contents of the DockerFile.
    You can update the Linux version that you use. If you did not use the suggested directory structure, you need to update the this file with your directory structure details.
  4. Copy Java into the image directory.
    cp -Rp $JAVA_HOME/* /mftdocker/mftis/java
  5. Copy TIBCO MFT Internet Server into the image directory.
    cp -Rp /tibco/mftis /mftdocker/mftis/tibco
  6. Copy the Keystore JKS file into the tibco directory.
    cp -p /tibco/localhost.jks /mftdocker/mftis/tibco
  7. Remove files to save space on the image.
    rm /mftdocker/mftis/tibco/mftis/cfcc.jar

    rm -R -f /mftdocker/mftis/tibco/mftis/distribution

    rm -f /mftdocker/mftis/tibco/mftis/server/logs/*

    rm -f /mftdocker/mftis/tibco/mftis/logs/trace/*

    rm -f /mftdocker/mftis/tibco/mftis/logs/audit/*

    rm -f /mftdocker/mftis/tibco/mftis/logs/webAdmin/*