diff --git a/docker/1.5/Dockerfile b/docker/1.5/Dockerfile index 28d4fe4103..00fed0b9c2 100644 --- a/docker/1.5/Dockerfile +++ b/docker/1.5/Dockerfile @@ -14,8 +14,7 @@ RUN set -x && \ cmake \ gnupg \ libressl-dev \ - util-linux-dev \ - ca-certificates && \ + util-linux-dev && \ wget https://github.com/warmcat/libwebsockets/archive/v${LWS_VERSION}.tar.gz -O /tmp/lws.tar.gz && \ mkdir -p /build/lws && \ tar --strip=1 -xf /tmp/lws.tar.gz -C /build/lws && \ @@ -76,7 +75,7 @@ RUN set -x && \ install -m644 /build/mosq/mosquitto.conf /mosquitto/config/mosquitto.conf && \ chown -R mosquitto:mosquitto /mosquitto && \ apk --no-cache add \ - libuuid && \ + libuuid ca-certificates && \ apk del build-deps && \ rm -rf /build diff --git a/docker/1.6/Dockerfile b/docker/1.6/Dockerfile index b1f63b1009..da2da3b859 100644 --- a/docker/1.6/Dockerfile +++ b/docker/1.6/Dockerfile @@ -14,8 +14,7 @@ RUN set -x && \ cmake \ gnupg \ libressl-dev \ - util-linux-dev \ - ca-certificates && \ + util-linux-dev && \ wget https://github.com/warmcat/libwebsockets/archive/v${LWS_VERSION}.tar.gz -O /tmp/lws.tar.gz && \ mkdir -p /build/lws && \ tar --strip=1 -xf /tmp/lws.tar.gz -C /build/lws && \ @@ -79,6 +78,8 @@ RUN set -x && \ install -s -m755 /build/mosq/src/mosquitto_passwd /usr/bin/mosquitto_passwd && \ install -m644 /build/mosq/mosquitto.conf /mosquitto/config/mosquitto.conf && \ chown -R mosquitto:mosquitto /mosquitto && \ + apk --no-cache add \ + ca-certificates && \ apk del build-deps && \ rm -rf /build diff --git a/docker/local/Dockerfile b/docker/local/Dockerfile index 5e699ad467..ffb17c216e 100644 --- a/docker/local/Dockerfile +++ b/docker/local/Dockerfile @@ -13,8 +13,7 @@ RUN set -x && \ cmake \ gnupg \ libressl-dev \ - util-linux-dev \ - ca-certificates && \ + util-linux-dev && \ wget https://github.com/warmcat/libwebsockets/archive/v${LWS_VERSION}.tar.gz -O /tmp/lws.tar.gz && \ mkdir -p /build/lws && \ tar --strip=1 -xf /tmp/lws.tar.gz -C /build/lws && \ @@ -60,6 +59,8 @@ RUN set -x && \ install -s -m755 /build/mosq/src/mosquitto_passwd /usr/bin/mosquitto_passwd && \ install -m644 /build/mosq/mosquitto.conf /mosquitto/config/mosquitto.conf && \ chown -R mosquitto:mosquitto /mosquitto && \ + apk --no-cache add \ + ca-certificates && \ apk del build-deps && \ rm -rf /build