docker-mqtt/Dockerfile

6 lines
212 B
Docker

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"]