FROM alpine:3.12
RUN apk -U upgrade && apk add mosquitto mosquitto-clients openssl
EXPOSE 8883
ENTRYPOINT ["mosquitto", "-c", "/etc/mosquitto/mosquitto.conf"]