Original discussion starts here: #5895 (comment)
Project to reproduce:
https://github.com/lukebakken/rabbitmq-server-5895-mqtt
docker compose up will start up the pivotalrabbitmq/rabbitmq:v3.12.0-beta.1-otp-max-bazel and try to import definitions, which won't happen. It's not just docker, as this doesn't work either:
make RABBITMQ_CONFIG_FILE="/home/lbakken/development/lukebakken/rabbitmq-server-5895-mqtt/rabbitmq-local.conf" PLUGINS='rabbitmq_management rabbitmq_top' run-broker
RABBITMQ_IMAGE='rabbitmq:3-management' docker compose up works correctly.
cc @michaelklishin @janiu-001