FROM alpine:3.12
RUN \
apk -U upgrade && apk add mosquitto mosquitto-clients openssl && \
echo "log_dest stdout" >/etc/mosquitto/mosquitto.conf
ENTRYPOINT ["mosquitto", "-c", "/etc/mosquitto/mosquitto.conf"]