This commit is contained in:
parent
d8f7d9dc85
commit
7eebac8e3c
@ -1,5 +1,8 @@
|
|||||||
FROM alpine:3.14
|
FROM alpine:3.14
|
||||||
RUN \
|
RUN \
|
||||||
apk -U upgrade && apk add mosquitto mosquitto-clients openssl && \
|
apk -U upgrade && apk add mosquitto mosquitto-clients openssl && \
|
||||||
echo "log_dest stdout" >/etc/mosquitto/mosquitto.conf
|
echo "log_dest stdout" >/etc/mosquitto/mosquitto.conf && \
|
||||||
|
echo "listener 1883" >>/etc/mosquitto/mosquitto.conf && \
|
||||||
|
echo "allow_anonymous true" >>/etc/mosquitto/mosquitto.conf
|
||||||
|
|
||||||
ENTRYPOINT ["mosquitto", "-c", "/etc/mosquitto/mosquitto.conf"]
|
ENTRYPOINT ["mosquitto", "-c", "/etc/mosquitto/mosquitto.conf"]
|
||||||
|
Loading…
Reference in New Issue
Block a user