From c69b5be28fea57f80d73a373a07f551f20b8c1df Mon Sep 17 00:00:00 2001 From: "black.box (Unzoner) team@belodetek.io" Date: Sun, 3 Dec 2023 10:57:29 -0800 Subject: [PATCH] update SSL certs --- unzoner/Dockerfile.template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/unzoner/Dockerfile.template b/unzoner/Dockerfile.template index 04d0d11..3c56624 100644 --- a/unzoner/Dockerfile.template +++ b/unzoner/Dockerfile.template @@ -49,6 +49,8 @@ RUN useradd openssl && (passwd -d openssl || true) ENV LD_LIBRARY_PATH="/usr/local/ssl/lib64:$LD_LIBRARY_PATH" +RUN update-ca-certificates + RUN if [ "$BUILD_OPENSSL" = '1' ]; then \ set -x; git clone --depth 1 --branch openssl-$BUILD_OPENSSL_VERSION https://github.com/openssl/openssl \ && cd openssl \ @@ -211,6 +213,8 @@ COPY --from=build /opt/systemd/entry.sh /usr/bin/entry.sh COPY --from=build /opt/systemd/balena.service /etc/systemd/system/balena.service +RUN update-ca-certificates + RUN [ -f /usr/local/sbin/openvpn ] || install_packages openvpn RUN [ -f /usr/local/sbin/sniproxy ] || install_packages sniproxy