Open
Description
Hi,
I tried to use pymqi
to connect to a MQ and lost a lot of time figuring out how to install the required MQ client.
Maybe this should be documented better/a link to that should be provided?!
Anyway, here is what I am using now:
FROM python:3
# only /opt/mqm will work.
RUN mkdir -p /opt/mqm
RUN curl 'https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqdev/redist/9.3.0.0-IBM-MQC-Redist-LinuxX64.tar.gz' -o - | tar xz -C /opt/mqm
# fixes pymqi loading 32bit libraries
ENV LD_LIBRARY_PATH=/opt/mqm/lib64:$LD_LIBRARY_PATH
RUN pip3 install pymqi==1.12.8
The best solution would obviously be to bundle the client with pymqi
(same applies for nodejs, ruby etc).
Metadata
Metadata
Assignees
Labels
No labels