From 2f61bac4c018075d096f4cf10544ed1a49a49b3a Mon Sep 17 00:00:00 2001 From: Kebin Liu Date: Tue, 17 Sep 2019 22:26:35 +0800 Subject: [PATCH] Update Dockerfile Add ca-certificates for runtime dependency When you use shadowsocks/shadowsocks-libev with [v2ray-plugin](https://github.com/shadowsocks/v2ray-plugin), it may occurs `x509: certificate signed by unknown authority` error. --- docker/alpine/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/alpine/Dockerfile b/docker/alpine/Dockerfile index 572ecc82..0a1fd9d9 100644 --- a/docker/alpine/Dockerfile +++ b/docker/alpine/Dockerfile @@ -35,6 +35,7 @@ RUN set -ex \ && apk del .build-deps \ # Runtime dependencies setup && apk add --no-cache \ + ca-certificates \ rng-tools \ $(scanelf --needed --nobanner /usr/bin/ss-* \ | awk '{ gsub(/,/, "\nso:", $2); print "so:" $2 }' \