20 lines
571 B
Plaintext
20 lines
571 B
Plaintext
IMAGE activemq_5.15.13-200621
|
|
FROM alpine3.11-java8_8.242.08-200621
|
|
|
|
RUN EOF
|
|
# Download and install ActiveMQ
|
|
wget https://archive.apache.org/dist/activemq/5.15.13/apache-activemq-5.15.13-bin.tar.gz -O - | tar xzf - -C /srv
|
|
mv /srv/apache-activemq-5.15.13 /srv/activemq
|
|
|
|
# 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
|
|
EOF
|
|
|
|
COPY image.d
|
|
|
|
USER activemq
|
|
CMD /srv/activemq/bin/activemq console
|