Skip to content

Commit

Permalink
chore: define OPENSSL_STATIC using ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewL246 authored Aug 4, 2024
1 parent 7183ced commit 3816636
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3816636

Please sign in to comment.