Skip to content

feat: add MQTT status plugin to Docker image#1095

Open
LumenPrima wants to merge 1 commit intoTrunkRecorder:masterfrom
trunk-reporter:feat/add-mqtt-plugin
Open

feat: add MQTT status plugin to Docker image#1095
LumenPrima wants to merge 1 commit intoTrunkRecorder:masterfrom
trunk-reporter:feat/add-mqtt-plugin

Conversation

@LumenPrima
Copy link
Copy Markdown
Contributor

Summary

Include tr-plugin-mqtt in the official Docker build so users get MQTT support out of the box without maintaining a separate image.

Changes (3 additions to Dockerfile)

  • Builder stage: add libpaho-mqtt-dev and libpaho-mqttpp-dev to apt-get install
  • Builder stage: clone tr-plugin-mqtt into user_plugins/ before cmake
  • Runtime stage: add libpaho-mqtt-dev and libpaho-mqttpp-dev for the shared libraries

Context

Several projects (tr-engine, rdio-scanner, etc.) depend on MQTT output from trunk-recorder. Currently users must build a custom Docker image or use a community fork to get MQTT support. This adds it to the official image with minimal footprint — the plugin is already maintained under the TrunkRecorder org.

Testing

Include tr-plugin-mqtt in the official Docker build so users get MQTT
support out of the box. Changes:

- Builder: install libpaho-mqtt-dev and libpaho-mqttpp-dev
- Builder: clone tr-plugin-mqtt into user_plugins before cmake
- Runtime: add MQTT shared libraries

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Dygear
Copy link
Copy Markdown
Contributor

Dygear commented Feb 26, 2026

It's worth noting that there was some discussion on the discord about this. More than a few people have requested that the MQTT plugin is included in the default build. Currently the @TheGreatCodeholio maintains a docker image that has this enabled as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants