Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mosquitto image to latest versions #3850

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions mosquitto/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 6.5.0

- Update base image to Debian 12 (bookworm)
- Update mosquitto to version 2.0.20
- Update mosquitto-go-auth to version 2.1.0
- Update libwebsockets to version 4.3.3

## 6.4.1

- Increase default max_queued_messages to 8192 to fix dropped messages during Home Assistant startup
Expand Down
9 changes: 6 additions & 3 deletions mosquitto/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,21 @@ RUN apt-get update \
golang-go \
\
# Compile and install libwebsocket
&& git clone --depth 1 -b "${LIBWEBSOCKET_VERSION}" \
#
# DLWS_WITHOUT_TESTAPPS is just a workaround, see
# https://github.com/warmcat/libwebsockets/issues/2790 for more
&& git clone --depth 1 -b "v${LIBWEBSOCKET_VERSION}" \
https://libwebsockets.org/repo/libwebsockets \
\
&& cd libwebsockets \
&& mkdir build \
&& cd build \
&& cmake -DLWS_WITH_EXTERNAL_POLL=ON .. \
&& cmake -DLWS_WITH_EXTERNAL_POLL=ON -DLWS_WITHOUT_TESTAPPS=ON .. \
&& make install \
&& ldconfig \
&& cd ../.. \
# Compile and install mosquitto
&& git clone --depth 1 -b "${MOSQUITTO_VERSION}" \
&& git clone --depth 1 -b "v${MOSQUITTO_VERSION}" \
https://github.com/eclipse/mosquitto \
\
&& cd mosquitto \
Expand Down
16 changes: 8 additions & 8 deletions mosquitto/build.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
build_from:
aarch64: ghcr.io/home-assistant/aarch64-base-debian:bullseye
amd64: ghcr.io/home-assistant/amd64-base-debian:bullseye
armhf: ghcr.io/home-assistant/armhf-base-debian:bullseye
armv7: ghcr.io/home-assistant/armv7-base-debian:bullseye
i386: ghcr.io/home-assistant/i386-base-debian:bullseye
aarch64: ghcr.io/home-assistant/aarch64-base-debian:bookworm
amd64: ghcr.io/home-assistant/amd64-base-debian:bookworm
armhf: ghcr.io/home-assistant/armhf-base-debian:bookworm
armv7: ghcr.io/home-assistant/armv7-base-debian:bookworm
i386: ghcr.io/home-assistant/i386-base-debian:bookworm
codenotary:
signer: [email protected]
base_image: [email protected]
args:
LIBWEBSOCKET_VERSION: v4.3.2
MOSQUITTO_VERSION: v2.0.18
MOSQUITTO_AUTH_VERSION: 1.8.2
LIBWEBSOCKET_VERSION: 4.3.3
MOSQUITTO_VERSION: 2.0.20
MOSQUITTO_AUTH_VERSION: 2.1.0
2 changes: 1 addition & 1 deletion mosquitto/config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 6.4.1
version: 6.5.0
slug: mosquitto
name: Mosquitto broker
description: An Open Source MQTT broker
Expand Down
Loading