From c03c3a0ff7801fb0260057c5967e77fc0085715c Mon Sep 17 00:00:00 2001 From: Matthew Lopez <73856503+MatthewL246@users.noreply.github.com> Date: Sun, 4 Aug 2024 11:44:11 -0400 Subject: [PATCH] chore: define OPENSSL_STATIC using ENV --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 704b558..1a98395 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,9 +32,10 @@ RUN make install_sw WORKDIR ${cryptography_dir} ENV PATH="/root/.cargo/bin:${PATH}" ENV OPENSSL_DIR=${openssl_dir} +ENV OPENSSL_STATIC=1 RUN python3 -m venv venv RUN . ${cryptography_dir}/venv/bin/activate && \ - OPENSSL_STATIC=1 OPENSSL_DIR="${OPENSSL_DIR}" python3 -m pip install cryptography --no-binary cryptography -v + python3 -m pip install cryptography --no-binary cryptography -v # This is the main mitmproxy container that will be run. We use a new image so # the build tools are not left over in the final image.