mirror of
https://github.com/MatthewL246/mitmproxy-pretendo.git
synced 2026-03-21 17:24:10 -05:00
chore: define OPENSSL_STATIC using ENV
This commit is contained in:
parent
8d331fcfda
commit
c03c3a0ff7
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user