From 25a1f7d1994fd4b8d1d25ab0275f7a8f071abfb1 Mon Sep 17 00:00:00 2001 From: David Audet Date: Tue, 20 Dec 2016 13:48:19 -0800 Subject: [PATCH] Update Dockerfiles to not save the apk cache When installing the Mosquitto package from Alpine Linux, we don't need to save the latest package index to the cache. We are specifically requesting the latest package index each time we install Mosquitto and not using the local cache at all (--no-cache). Signed-off-by: David Audet --- docker/1.4.4/Dockerfile | 2 +- docker/1.4.8/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/1.4.4/Dockerfile b/docker/1.4.4/Dockerfile index b568aeda..bd757e3b 100644 --- a/docker/1.4.4/Dockerfile +++ b/docker/1.4.4/Dockerfile @@ -3,7 +3,7 @@ MAINTAINER David Audet LABEL Description="Eclipse Mosquitto MQTT Broker" -RUN apk --no-cache --update add mosquitto=1.4.4-r0 && \ +RUN apk --no-cache add mosquitto=1.4.4-r0 && \ mkdir -p /mosquitto/config /mosquitto/data /mosquitto/log && \ cp /etc/mosquitto/mosquitto.conf /mosquitto/config && \ chown -R mosquitto:mosquitto /mosquitto diff --git a/docker/1.4.8/Dockerfile b/docker/1.4.8/Dockerfile index b005b530..a9027a78 100644 --- a/docker/1.4.8/Dockerfile +++ b/docker/1.4.8/Dockerfile @@ -3,7 +3,7 @@ MAINTAINER David Audet LABEL Description="Eclipse Mosquitto MQTT Broker" -RUN apk --no-cache --update add mosquitto=1.4.8-r2 && \ +RUN apk --no-cache add mosquitto=1.4.8-r2 && \ mkdir -p /mosquitto/config /mosquitto/data /mosquitto/log && \ cp /etc/mosquitto/mosquitto.conf /mosquitto/config && \ chown -R mosquitto:mosquitto /mosquitto