Spotter-VM/lxc-services/rabbitmq/image

17 lines
440 B
Plaintext
Raw Normal View History

IMAGE rabbitmq_3.7.18-200313
FROM alpine3.11_3.11.3-200313
2018-09-13 14:20:37 +02:00
RUN EOF
# Create OS user (which will be picked up later by apk add)
addgroup -S -g 5672 rabbitmq
2020-03-13 17:36:06 +01:00
adduser -S -u 5672 -h /var/lib/rabbitmq -s /bin/false -g rabbitmq -G rabbitmq rabbitmq
2018-09-13 14:20:37 +02:00
# Install RabbitMQ
2019-06-05 09:33:28 +02:00
apk --no-cache add rabbitmq-server@vm
2018-09-13 14:20:37 +02:00
EOF
USER rabbitmq
2020-03-13 17:36:06 +01:00
ENV HOME /var/lib/rabbitmq
CMD /usr/sbin/rabbitmq-server
READY /usr/sbin/rabbitmqctl await_startup