Step 7: Prepare   TIBCO MFT Command Center Docker Image

The container image is now ready. This step prepares the directory for containerization.

    Procedure
  1. Run the following commands to remove files to save space on the image.
    rm /mftdocker/mftcc/tibco/mftcc/cfcc.jar
    rm /mftdocker/mftcc/tibco/mftcc/server.jar
    rm -R -f /mftdocker/mftcc/tibco/mftcc/distribution
    rm -R -f /mftdocker/mftcc/tibco/mftcc/META-INF
    rm -f /mftdocker/mftcc/tibco/mftcc/server/logs/*
    rm -f /mftdocker/mftcc/tibco/mftcc/logs/trace/*
    rm -f /mftdocker/mftcc/tibco/mftcc/logs/audit/*
    rm -f /mftdocker/mftcc/tibco/mftcc/logs/webAdmin/*
    rm -f /mftdocker/mftcc/tibco/mftcc/logs/webAdmin/*
    rm -f /mftdocker/mftcc/tibco/mftcc/express.jar
    rm -f /mftdocker/mftcc/tibco/mftcc/8.6.0_HF*.jar
    
  2. Copy the Dockerfile from the distribution Cloud directory.
    MFT distributes the non-root and root DockerFiles.
    • To copy a non-root Dockerfile:
      cp /mftdocker/mftcc/tibco/mftcc/cloud/k8s_samples/nonRoot/DockerFile.mftcc/mftdocker/mftccis
    • To copy root Dockerfile:
      cp /mftdocker/mftcc/tibco/mftcc/cloud/k8s_samples/DockerFile.mftcc /mftdocker/mftccis
  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 this file with your directory structure details.