Skip to content
This repository was archived by the owner on May 5, 2020. It is now read-only.

Commit 292a255

Browse files
authored
Merge pull request #35 from arthurbarr/arg
Configure URL and packages with build args
2 parents a81406e + 38e036d commit 292a255

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

server/Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,13 @@ FROM ubuntu:14.04
1616

1717
MAINTAINER Arthur Barr <arthur.barr@uk.ibm.com>
1818

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_dev90_linux_x86-64.tar.gz
21+
22+
# The MQ packages to install
23+
ARG MQ_PACKAGES="MQSeriesRuntime-*.rpm MQSeriesServer-*.rpm MQSeriesMsg*.rpm MQSeriesJava*.rpm MQSeriesJRE*.rpm MQSeriesGSKit*.rpm"
24+
1925
RUN export DEBIAN_FRONTEND=noninteractive \
20-
# The URL to download the MQ installer from in tar.gz format
21-
&& MQ_URL=http://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqadv/mqadv_dev90_linux_x86-64.tar.gz \
22-
# The MQ packages to install
23-
&& MQ_PACKAGES="MQSeriesRuntime-*.rpm MQSeriesServer-*.rpm MQSeriesMsg*.rpm MQSeriesJava*.rpm MQSeriesJRE*.rpm MQSeriesGSKit*.rpm" \
2426
# Optional: Update the command prompt
2527
&& echo "mq:9.0" > /etc/debian_chroot \
2628
# Install additional packages required by this install process and the runtime scripts

0 commit comments

Comments
 (0)