Add dockerfiles
This commit is contained in:
21
rln/ubi9/Dockerfile.ubi9-mqclient
Normal file
21
rln/ubi9/Dockerfile.ubi9-mqclient
Normal file
@@ -0,0 +1,21 @@
|
||||
# docker buildx build -t pymqi . -f Dockerfile.ubi9-mqclient
|
||||
|
||||
FROM registry.access.redhat.com/ubi9/python-312:1-25.1729767846
|
||||
|
||||
USER 0
|
||||
|
||||
COPY ./mq/9.4.1.0-IBM-MQC-LinuxX64.tar.gz /tmp/IBM-MQC-LinuxX64.tar.gz
|
||||
COPY ./mq/*.py /tmp
|
||||
|
||||
RUN yum update -y \
|
||||
&& yum install -y tar wget python3 python3-devel python3-pip \
|
||||
&& cd /tmp \
|
||||
&& tar -xvf IBM-MQC-LinuxX64.tar.gz \
|
||||
&& cd /tmp/MQClient \
|
||||
&& ./mqlicense.sh -accept \
|
||||
&& rpm -i *.rpm \
|
||||
&& /opt/mqm/bin/setmqinst -i -p /opt/mqm \
|
||||
&& source /opt/mqm/bin/setmqenv -l -p /opt/mqm \
|
||||
&& pip install pymqi
|
||||
|
||||
ENTRYPOINT ["tail", "-f", "/dev/null"]
|
||||
Reference in New Issue
Block a user