mirror of
https://github.com/MatthewL246/mitmproxy-pretendo.git
synced 2026-09-09 03:45:27 -05:00
Fix downloads by allowing curl to follow redirects
This commit is contained in:
@@ -19,10 +19,10 @@ ARG openssl_version openssl_dir openssl_config_dir cryptography_dir
|
||||
RUN apt update && \
|
||||
apt install -y \
|
||||
curl build-essential libffi-dev pkg-config
|
||||
RUN curl https://sh.rustup.rs | sh -s -- -y
|
||||
RUN curl -L https://sh.rustup.rs | sh -s -- -y
|
||||
|
||||
# Download and compile OpenSSL
|
||||
RUN curl https://www.openssl.org/source/openssl-${openssl_version}.tar.gz | tar -xvz -C /tmp
|
||||
RUN curl -L https://www.openssl.org/source/openssl-${openssl_version}.tar.gz | tar -xvz -C /tmp
|
||||
WORKDIR /tmp/openssl-${openssl_version}
|
||||
RUN ./config --prefix=${openssl_dir} --openssldir=${openssl_config_dir} -Wl,-Bsymbolic-functions -fPIC shared
|
||||
RUN make -j $(nproc)
|
||||
|
||||
Reference in New Issue
Block a user