Spotter-VM/rabbitmq/lxcfile
Disassembler ce325cf3d0
Squashed commit of the following:
- Bump basic OS to Alpine 3.9
 - Restructure repo and add layer versioning
 - Use JSON for all metadata
 - Merge abuild branch (but without abuild)
2019-02-26 20:24:02 +01:00

19 lines
446 B
Plaintext

IMAGE rabbitmq
LAYER shared/alpine3.9
LAYER rabbitmq/rabbitmq
RUN EOF
# Create OS user (which will be picked up later by apk add)
addgroup -S -g 5672 rabbitmq
adduser -S -u 5672 -h /usr/lib/rabbitmq -s /bin/false -g rabbitmq -G rabbitmq rabbitmq
# Install RabbitMQ
apk --no-cache add rabbitmq-server@et
EOF
MOUNT DIR /srv/rabbitmq/data var/lib/rabbitmq/mnesia
USER 5672 5672
ENV HOME /usr/lib/rabbitmq
CMD rabbitmq-server