You need to have the following tools installed:
If you are working in the Windows Subsystem for Linux, follow this guide by Microsoft to set up Docker first.
You will also need a Red Hat Account to be able to access the Red Hat Registry.
This procedure works for building the MQ Managed File Transfer Redistributable package on amd64
architectures.
-
Clone the GitHub repository to local directory.
-
Login to the Red Hat Registry:
podman login registry.redhat.io
using your Customer Portal credentials. -
Navigate to directory where
Dockerfile-agent
is located. -
Download 9.4.1.0-IBM-MQFA-Redist-LinuxX64.tar.gz or higher from IBM Fixcentral into the current directory. Note: The redistributable MFT package must be present in same path as the Dockerfile-agent file.
-
Unpack the 9.4.1.0-IBM-MQFA-Redist-LinuxX64.tar.gz to a temporay directory. Copy com.ibm.wmqfte.com.ibm.wmqfte.exitroutines.api.jar to credentialsexit/BridgeCredentialExit/thirdparty directory.
-
Download json-20240303.jar file from Maven Repository and copy to credentialsexit/BridgeCredentialExit/thirdparty directory.
-
Run the following command to build container image
podman build -f Dockerfile-agent -t mqmft:9.4.1.0 --build-arg ARG_MQMFT_REDIST_FILE=9.4.1.0-IBM-MQFA-Redist-LinuxX64.tar.gz .
You can replace the
9.4.1.0-IBM-MQFA-Redist-LinuxX64.tar.gz
with the version of the redistributable package of your choice.
This image includes the following components
- MQ Managed File Transfer Agent - Core MFT product.
- IBM Java Runtime Environment - IBM JRE.
- json-20240205.jar - Third party JSON parse.
- Custom Protocol Bridge Credential Exit bridgecredentialexit.jar
- mqfts - A command line utility to parse and display contents of capture0.log file.