Docker: Add ca-certificates to images.
This commit is contained in:
parent
27e81e9e13
commit
eaab179933
@ -3,7 +3,7 @@ MAINTAINER David Audet <david.audet@ca.com>
|
||||
|
||||
LABEL Description="Eclipse Mosquitto MQTT Broker"
|
||||
|
||||
RUN apk --no-cache add mosquitto=1.4.12-r0 && \
|
||||
RUN apk --no-cache add mosquitto=1.4.12-r0 ca-certificates && \
|
||||
mkdir -p /mosquitto/config /mosquitto/data /mosquitto/log && \
|
||||
cp /etc/mosquitto/mosquitto.conf /mosquitto/config && \
|
||||
chown -R mosquitto:mosquitto /mosquitto
|
||||
|
@ -75,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 && \
|
||||
ca-certificates libuuid && \
|
||||
apk del build-deps && \
|
||||
rm -rf /build
|
||||
|
||||
|
@ -78,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
|
||||
|
||||
|
@ -46,6 +46,7 @@ LABEL maintainer="Jonathan Hanson <jonathan@jonathan-hanson.org>" \
|
||||
# Install the run-time dependencies
|
||||
RUN apk --no-cache add \
|
||||
busybox \
|
||||
ca-certificates \
|
||||
libcrypto1.0 \
|
||||
libssl1.0 \
|
||||
libuuid \
|
||||
|
@ -59,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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user