2019-09-18 11:29:58 +02:00
|
|
|
IMAGE rabbitmq_3.7.11-190620
|
2019-11-30 09:59:32 +01:00
|
|
|
FROM alpine3.9_3.9.4-190620
|
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
|
|
|
|
adduser -S -u 5672 -h /usr/lib/rabbitmq -s /bin/false -g rabbitmq -G rabbitmq rabbitmq
|
|
|
|
|
|
|
|
# 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 5672 5672
|
2018-09-13 16:05:13 +02:00
|
|
|
ENV HOME /usr/lib/rabbitmq
|
2018-09-13 16:21:16 +02:00
|
|
|
CMD rabbitmq-server
|
2019-09-18 11:29:58 +02:00
|
|
|
READY grep -q "Server startup complete" /var/log/rabbitmq/rabbit@*.log
|