2021-10-01 13:40:28 +00:00
|
|
|
FROM alpine:3.12
|
2021-10-01 13:40:56 +00:00
|
|
|
RUN \
|
|
|
|
apk -U upgrade && apk add mosquitto mosquitto-clients openssl && \
|
|
|
|
echo "log_dest stdout" >/etc/mosquitto/mosquitto.conf
|
2019-08-12 16:10:59 +00:00
|
|
|
EXPOSE 8883
|
|
|
|
ENTRYPOINT ["mosquitto", "-c", "/etc/mosquitto/mosquitto.conf"]
|