2019-09-18 11:29:58 +02:00
|
|
|
IMAGE activemq_5.15.9-190620
|
2019-06-25 15:56:35 +02:00
|
|
|
|
2019-09-18 11:29:58 +02:00
|
|
|
LAYER alpine3.9_3.9.4-190620
|
|
|
|
LAYER alpine3.9-java8_8.212.04-190620
|
2018-09-05 17:41:38 +02:00
|
|
|
|
2018-09-12 16:08:10 +02:00
|
|
|
RUN EOF
|
2018-09-05 17:41:38 +02:00
|
|
|
# Download and install ActiveMQ
|
2019-05-08 10:03:27 +02:00
|
|
|
wget http://archive.apache.org/dist/activemq/5.15.9/apache-activemq-5.15.9-bin.tar.gz -O - | tar xzf - -C /srv
|
|
|
|
mv /srv/apache-activemq-5.15.9 /srv/activemq
|
2018-09-05 17:41:38 +02:00
|
|
|
|
|
|
|
# Create OS user
|
|
|
|
addgroup -S -g 61616 activemq
|
|
|
|
adduser -S -u 61616 -h /srv/activemq -s /bin/false -g activemq -G activemq activemq
|
|
|
|
mkdir /srv/activemq/tmp
|
|
|
|
chown activemq:activemq /srv/activemq/tmp
|
2018-09-12 16:08:10 +02:00
|
|
|
EOF
|
2018-09-05 17:41:38 +02:00
|
|
|
|
2018-09-05 21:21:07 +02:00
|
|
|
COPY lxc
|
2018-09-05 17:41:38 +02:00
|
|
|
|
2018-09-07 15:47:44 +02:00
|
|
|
USER 61616 61616
|
|
|
|
CMD /srv/activemq/bin/activemq console
|