Closed akudiyar closed 2 years ago
@akudiyar I don't see installing mosquitto library in your steps. That seems to be a reason why mqtt builds without it. Anyway with the new mqtt release this library will be built and linked statically if you installing the module with luarocks. So you won't have to install it manually.
The main problem is fixed in #39. The plan is the following:
I overlooked that mqtt was installed in a child image, not our CentOS 7 based image. Anyway, we'll update the module in Alpine images, where it is present and has an old version.
Steps to reproduce:
docker-compose.yml:
Dockerfile.tarantool:
app.lua:
The reason is that the mqtt driver is not linked with mosquitto:
We need to fix the cmake script for correct installing of libmosquitto or correct linking of the driver.