* FIX [docker] fix  libmsquic.so.2 not found
-FROM ubuntu:22.04
+FROM ubuntu:20.04
COPY nanomq-*-full.deb ./
COPY deploy/docker/docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
@@ -7,7 +7,8 @@ RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libatomic1 \
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ./nanomq-*-linux-$(dpkg --print-architecture)-full.deb \
&& rm -rf /var/lib/apt/lists/* \
- && rm -rf *.deb
+ && rm -rf *.deb \
+ && ldconfig
EXPOSE 1883 8883 8081
