mirror of
https://github.com/eclipse-mosquitto/mosquitto.git
synced 2026-09-22 08:04:23 +08:00
Add ca-certificates to Docker to support root certificates
Signed-off-by: Mario Vejlupek <mario@vejlupek.cz>
This commit is contained in:
committed by
Roger A. Light
parent
22eb193309
commit
cf1f4228a9
@@ -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
|
||||
|
||||
@@ -14,7 +14,8 @@ RUN set -x && \
|
||||
cmake \
|
||||
gnupg \
|
||||
libressl-dev \
|
||||
util-linux-dev && \
|
||||
util-linux-dev \
|
||||
ca-certificates && \
|
||||
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 && \
|
||||
|
||||
@@ -14,7 +14,8 @@ RUN set -x && \
|
||||
cmake \
|
||||
gnupg \
|
||||
libressl-dev \
|
||||
util-linux-dev && \
|
||||
util-linux-dev \
|
||||
ca-certificates && \
|
||||
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 && \
|
||||
|
||||
@@ -12,7 +12,8 @@ RUN apk --no-cache add \
|
||||
util-linux-dev \
|
||||
libwebsockets-dev \
|
||||
libxslt \
|
||||
python2
|
||||
python2 \
|
||||
ca-certificates
|
||||
|
||||
# This build procedure is based on:
|
||||
# https://github.com/alpinelinux/aports/blob/master/main/mosquitto/APKBUILD
|
||||
|
||||
@@ -13,7 +13,8 @@ RUN set -x && \
|
||||
cmake \
|
||||
gnupg \
|
||||
libressl-dev \
|
||||
util-linux-dev && \
|
||||
util-linux-dev \
|
||||
ca-certificates && \
|
||||
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 && \
|
||||
|
||||
Reference in New Issue
Block a user