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.
This commit is contained in:
Kebin Liu
2019-09-17 22:26:35 +08:00
committed by GitHub
parent ec91e4f266
commit 2f61bac4c0
+1
View File
@@ -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 }' \