From ab783d9434b274c93991c3542af759f902e03cea Mon Sep 17 00:00:00 2001 From: Falko Richter Date: Thu, 11 Jul 2024 09:45:19 +0200 Subject: [PATCH] paho was was not version pinned --- bffh-v0.4.2-with-python3-dockerfile-v2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bffh-v0.4.2-with-python3-dockerfile-v2 b/bffh-v0.4.2-with-python3-dockerfile-v2 index 21a62cc..3610e40 100644 --- a/bffh-v0.4.2-with-python3-dockerfile-v2 +++ b/bffh-v0.4.2-with-python3-dockerfile-v2 @@ -1,10 +1,11 @@ FROM registry.gitlab.com/fabinfra/fabaccess/bffh:v0.4.2 RUN apt update && apt install -y python3 python3-pip -RUN pip3 install paho-mqtt +RUN pip3 install paho-mqtt=1.6.1 # this adds python3 to this version of the fabaccess bffh server # also installs paho-mqtt as it's required for https://gitlab.com/volkersfreunde/tasmota +# https://pypi.org/project/paho-mqtt/#history # https://www.codewithjason.com/docker-hello-world-app/ helped me: # docker build --tag bffh-v0.4.2-with-python3-v2 -f bffh-v0.4.2-with-python3-dockerfile-v2 . @@ -16,7 +17,7 @@ RUN pip3 install paho-mqtt #FROM registry.gitlab.com/fabinfra/fabaccess/bffh:v0.4.2 #RUN apt update && apt install -y python3 python3-pipx -#RUN pip3 install paho-mqtt foo +#RUN pip3 install paho-mqtt # `docker compose downa and `docker compose build` https://github.com/docker/compose/issues/1487 \ No newline at end of file