Dockerized build of Paho MQTT C
The Dockerfile for this image is available here. Please note that builds are based on a fork of the original Paho MQTT C git repository as required docker files are not part of the official repository yet.
This docker image supports building the Paho MQTT C library for the following platforms:
- Linux x86 (
- Linux x64 (
- Raspberry Pi running Raspbian (
- Win32 (
- Win64 (
Just run the docker container. The
entrypoint.sh script clones the repository and invokes all required build-tools.
docker run --rm --name paho-build --volume /tmp/paho-build:/tmp/paho-build rpoisel/paho-build <platform>
docker run --rm --name paho-build --volume /tmp/paho-build:/tmp/paho-build rpoisel/paho-build linux-arm11
--rm parameter ensures that the container is deleted after running it because it is not needed anymore. Using the
--volume parameter allows to create a bind mount to have built files available after the container quits.
After the build, built binaries can be found in the directory created for your chosen platform, e. g.
TODOs / Outlook
- Support for building the original
Paho MQTT Cgit repository.
- SSL builds are not supported yet.
- Support for documentation generated by Doxygen.