2018-01-23 13:39:50 +01:00
|
|
|
#!/bin/sh
|
2018-07-15 21:55:35 +02:00
|
|
|
set -e
|
2018-01-23 13:39:50 +01:00
|
|
|
|
|
|
|
SOURCE_DIR=$(realpath $(dirname "${0}"))/activemq
|
|
|
|
|
|
|
|
# Build Docker container
|
|
|
|
docker build -t activemq ${SOURCE_DIR}
|
2018-04-29 20:48:57 +02:00
|
|
|
cp ${SOURCE_DIR}/etc/init.d/activemq /etc/init.d/activemq
|
|
|
|
rc-update -u
|
2018-01-23 13:39:50 +01:00
|
|
|
|
|
|
|
# Configure ActiveMQ
|
|
|
|
mkdir -p /srv/activemq/data
|
|
|
|
chown -R 61616:61616 /srv/activemq/data
|