Skip to content

Commit

Permalink
Bump LWS version
Browse files Browse the repository at this point in the history
Also add LWS_WITH_EXTERNAL_POLL=ON  as this is required for
websockets to work properly

fixes #237
  • Loading branch information
hardillb committed Aug 16, 2022
1 parent e1c527a commit 224d7d4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Define Mosquitto version
ARG MOSQUITTO_VERSION=2.0.9
ARG MOSQUITTO_VERSION=2.0.14
# Define libwebsocket version
ARG LWS_VERSION=2.4.2
ARG LWS_VERSION=4.2.2

# Use debian:stable-slim as a builder for Mosquitto and dependencies.
FROM debian:stable-slim as mosquitto_builder
Expand Down Expand Up @@ -31,7 +31,8 @@ RUN set -ex; \
-DLWS_WITH_HTTP2=OFF \
-DLWS_WITH_SHARED=OFF \
-DLWS_WITH_ZIP_FOPS=OFF \
-DLWS_WITH_ZLIB=OFF; \
-DLWS_WITH_ZLIB=OFF \
-DLWS_WITH_EXTERNAL_POLL=ON; \
make -j "$(nproc)"; \
rm -rf /root/.cmake

Expand Down

0 comments on commit 224d7d4

Please sign in to comment.