Skip to content

Commit

Permalink
Docker fixes.
Browse files Browse the repository at this point in the history
- Don't remove apk database, closes #1011.
- Install mosquitto_passwd, closes #1009.
  • Loading branch information
ralight committed Nov 3, 2018
1 parent d5aaeee commit da2879c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/1.5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,14 @@ RUN set -x && \
mkdir -p /mosquitto/config /mosquitto/data /mosquitto/log && \
install -d /usr/sbin/ && \
install -s -m755 /build/src/mosquitto /usr/sbin/mosquitto && \
install -s -m755 /build/src/mosquitto_passwd /usr/bin/mosquitto_passwd && \
install -m644 /build/mosquitto.conf /mosquitto/config/mosquitto.conf && \
chown -R mosquitto:mosquitto /mosquitto && \
apk --no-cache add \
libuuid \
libwebsockets && \
apk del build-deps && \
rm -rf /build /etc/apk /lib/apk
rm -rf /build

VOLUME ["/mosquitto/data", "/mosquitto/log"]

Expand Down

0 comments on commit da2879c

Please sign in to comment.