File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ FROM ubuntu:16.04
17
17
LABEL maintainer
"Arthur Barr <[email protected] >"
18
18
19
19
# The URL to download the MQ installer from in tar.gz format
20
- ARG MQ_URL=http ://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqadv/mqadv_dev902_ubuntu_x86-64.tar.gz
20
+ ARG MQ_URL=https ://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqadv/mqadv_dev902_ubuntu_x86-64.tar.gz
21
21
22
22
# The MQ packages to install
23
23
ARG MQ_PACKAGES="ibmmq-server ibmmq-java ibmmq-jre ibmmq-gskit ibmmq-web"
@@ -28,9 +28,11 @@ RUN export DEBIAN_FRONTEND=noninteractive \
28
28
&& apt-get install -y --no-install-recommends \
29
29
bash \
30
30
bc \
31
+ ca-certificates \
31
32
coreutils \
32
33
curl \
33
34
debianutils \
35
+ file \
34
36
findutils \
35
37
gawk \
36
38
grep \
@@ -58,6 +60,11 @@ RUN export DEBIAN_FRONTEND=noninteractive \
58
60
# Install MQ using the DEB packages
59
61
&& apt-get update \
60
62
&& apt-get install -y $MQ_PACKAGES \
63
+ # Remove 32-bit libraries from 64-bit container
64
+ && find /opt/mqm /var/mqm -type f -exec file {} \; \
65
+ | awk -F: '/ELF 32-bit/{print $1}' | xargs --no-run-if-empty rm -f \
66
+ # Remove tar.gz files unpacked by RPM postinst scripts
67
+ && find /opt/mqm -name '*.tar.gz' -delete \
61
68
# Recommended: Set the default MQ installation (makes the MQ commands available on the PATH)
62
69
&& /opt/mqm/bin/setmqinst -p /opt/mqm -i \
63
70
# Clean up all the downloaded files
You can’t perform that action at this time.
0 commit comments