Disassembler
ce325cf3d0
- Bump basic OS to Alpine 3.9 - Restructure repo and add layer versioning - Use JSON for all metadata - Merge abuild branch (but without abuild)
27 lines
739 B
Plaintext
27 lines
739 B
Plaintext
IMAGE activemq
|
|
LAYER shared/alpine3.9
|
|
LAYER shared/alpine3.9-java8
|
|
LAYER activemq/activemq
|
|
|
|
RUN EOF
|
|
# Download and install ActiveMQ
|
|
wget http://archive.apache.org/dist/activemq/5.15.8/apache-activemq-5.15.8-bin.tar.gz -O - | tar xzf - -C /srv
|
|
mv /srv/apache-activemq-5.15.8 /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
|
|
|
|
# Configure Java heap size
|
|
sed -i "s/-Xms64M -Xmx1G/-Xms32M -Xmx256M/" /srv/activemq/bin/env
|
|
EOF
|
|
|
|
COPY lxc
|
|
|
|
MOUNT DIR /srv/activemq/data srv/activemq/data
|
|
|
|
USER 61616 61616
|
|
CMD /srv/activemq/bin/activemq console
|