From 1206bac30316071d8a6df7722970251dca576e33 Mon Sep 17 00:00:00 2001
From: Matej Sychra <suculent@me.com>
Date: Mon, 18 Mar 2024 14:51:11 +0100
Subject: [PATCH] broker test update (fails to install in CI where
 libmosquitto1 is not found anymore)

---
 services/broker/Dockerfile.test | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/services/broker/Dockerfile.test b/services/broker/Dockerfile.test
index de7a6cb21..7df1a77f9 100644
--- a/services/broker/Dockerfile.test
+++ b/services/broker/Dockerfile.test
@@ -1,9 +1,13 @@
 FROM thinxcloud/mosquitto
 
-LABEL name="thinxcloud/mosquitto" version="1.5.7"
+LABEL name="thinxcloud/mosquitto" version="1.5.8"
 
 # for early testing
-RUN apt install -y mosquitto-clients
+RUN apt-add-repository ppa:mosquitto-dev/mosquitto-ppa \
+    && apt-get update \
+    && apt-get install mosquitto \
+    && apt-get install mosquitto-clients \
+    && apt clean
 
 # mock directory structure for mosquitto data
 COPY ./test/mosquitto/mosquitto.conf /etc/mosquitto/mosquitto.conf