mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +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"]
|