1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/mosquitto/Dockerfile
2015-12-09 00:57:14 +08:00

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