Step 5: Prepare TIBCO MFT Command Center Docker Image
You must have root or sudo access to prepare the Docker image and create directories at the root level.
- Procedure
- Execute the following commands to create directories.
mkdir /mftdocker/mftccmkdir /mftdocker/mftcc/tibcomkdir /mftdocker/mftcc/java - Copy the
DockerFile.mftcc from the
distribution/Cloud directory.
cp <MFT-Install>/cloud/k8s_samples/DockerFile.mftcc/mftdocker/mftcc/ - 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.
- Copy Java into the image directory.
cp -Rp $JAVA_HOME/* /mftdocker/mftcc/java - Copy TIBCO MFT Command Center into the image directory.
cp -Rp /tibco/mftcc /mftdocker/mftcc/tibco - Copy the Keystore JKS file into the tibco directory.
cp -p /tibco/localhost.jks /mftdocker/mftcc/tibco - Remove files to save space on the image.
rm /mftdocker/mftcc/tibco/mftcc/cfcc.jarrm -R -f /mftdocker/mftcc/tibco/mftcc/distributionrm -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/*