IMAGE rabbitmq 3.7.11-190620 META title RabbitMQ META desc-cs MultiprotokolovĂ˝ message broker META desc-en Multi-protocol message broker META type service META license GPL LAYER alpine3.9 3.9.4-190620 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@vm EOF MOUNT DIR /srv/rabbitmq/data var/lib/rabbitmq/mnesia USER 5672 5672 ENV HOME /usr/lib/rabbitmq CMD rabbitmq-server