Spotter-VM/lxc-services/activemq/image

20 lines
562 B
Plaintext
Raw Permalink Normal View History

IMAGE activemq_5.16.0-210106
FROM alpine3.12-java8_8.252.09-210106
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
2020-10-22 20:53:40 +02:00
wget https://archive.apache.org/dist/activemq/5.16.0/apache-activemq-5.16.0-bin.tar.gz -O - | tar xzf - -C /srv
mv /srv/apache-activemq-* /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
COPY image.d
2018-09-05 17:41:38 +02:00
USER activemq
2018-09-07 15:47:44 +02:00
CMD /srv/activemq/bin/activemq console