Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit c03c3a0

Browse files
committed
chore: define OPENSSL_STATIC using ENV
1 parent 8d331fc commit c03c3a0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ RUN make install_sw
3232
WORKDIR ${cryptography_dir}
3333
ENV PATH="/root/.cargo/bin:${PATH}"
3434
ENV OPENSSL_DIR=${openssl_dir}
35+
ENV OPENSSL_STATIC=1
3536
RUN python3 -m venv venv
3637
RUN . ${cryptography_dir}/venv/bin/activate && \
37-
OPENSSL_STATIC=1 OPENSSL_DIR="${OPENSSL_DIR}" python3 -m pip install cryptography --no-binary cryptography -v
38+
python3 -m pip install cryptography --no-binary cryptography -v
3839

3940
# This is the main mitmproxy container that will be run. We use a new image so
4041
# the build tools are not left over in the final image.

0 commit comments

Comments
 (0)