mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-10 04:19:24 +02:00
17 lines
277 B
Docker
17 lines
277 B
Docker
|
#
|
||
|
# Dockerfile for mosquitto
|
||
|
#
|
||
|
|
||
|
FROM alpine
|
||
|
MAINTAINER kev <noreply@datageek.info>
|
||
|
|
||
|
RUN set -x \
|
||
|
&& apk add -U mosquitto \
|
||
|
&& rm -rf /var/cache/apk/*
|
||
|
|
||
|
VOLUME /etc/mosquitto
|
||
|
EXPOSE 1883
|
||
|
|
||
|
ENTRYPOINT ["mosquitto"]
|
||
|
CMD ["-c", "/etc/mosquitto/mosquitto.conf", "-p", "1883"]
|