1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-14 11:23:02 +02:00
dockerfiles/mosquitto/Dockerfile

17 lines
275 B
Docker
Raw Normal View History

2015-12-08 18:57:14 +02:00
#
# Dockerfile for mosquitto
#
FROM alpine
2016-05-01 03:06:20 +02:00
MAINTAINER kev <noreply@easypi.info>
2015-12-08 18:57:14 +02:00
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"]