File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -54,11 +54,17 @@ ENV RDURL="https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messag
5454 VRMF=9.2.0.0
5555
5656# Install the MQ client from the Redistributable package. This also contains the
57- # header files we need to compile against.
57+ # header files we need to compile against. Setup the subset of the package
58+ # we are going to keep - the genmqpkg.sh script removes unneeded parts
59+ ENV genmqpkg_incnls=1 \
60+ genmqpkg_incsdk=1 \
61+ genmqpkg_inctls=1
62+
5863RUN cd /opt/mqm \
5964 && curl -LO "$RDURL/$VRMF-$RDTAR" \
6065 && tar -zxf ./*.tar.gz \
61- && rm -f ./*.tar.gz
66+ && rm -f ./*.tar.gz \
67+ && bin/genmqpkg.sh -b /opt/mqm
6268
6369# Insert the script that will do the build
6470COPY scripts/buildInDocker.sh $GOPATH
Original file line number Diff line number Diff line change @@ -34,11 +34,17 @@ ENV RDURL="https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messag
3434 VRMF=9.2.0.0
3535
3636# Install the MQ client from the Redistributable package. This also contains the
37- # header files we need to compile against.
37+ # header files we need to compile against. Setup the subset of the package
38+ # we are going to keep - the genmqpkg.sh script removes unneeded parts
39+ ENV genmqpkg_incnls=1 \
40+ genmqpkg_incsdk=1 \
41+ genmqpkg_inctls=1
42+
3843RUN cd /opt/mqm \
3944 && curl -LO "$RDURL/$VRMF-$RDTAR" \
4045 && tar -zxf ./*.tar.gz \
41- && rm -f ./*.tar.gz
46+ && rm -f ./*.tar.gz \
47+ && bin/genmqpkg.sh -b /opt/mqm
4248
4349ENV LD_LIBRARY_PATH="/opt/mqm/lib64:/usr/lib64" \
4450 MQ_CONNECT_TYPE=CLIENT
You can’t perform that action at this time.
0 commit comments