ticky / mitmproxy-oldssl

Docker image of mitmproxy with OpenSSL reconfigured to enable SSLv3; can be configured to act as an SSL downgrade proxy for old machines
8 stars 0 forks source link

mitmproxy docker image is not anymore based on Alpine #2

Open ben-64 opened 2 years ago

ben-64 commented 2 years ago

Since this commit, mitmproxy is not anymore based on alpine, therefore the docker build fails with:

/bin/sh: 1: apk: not found
The command '/bin/sh -c apk --no-cache add --virtual .build-dependencies linux-headers build-base curl perl &&     curl -sLO https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz &&     tar xvfz "openssl-${OPENSSL_VERSION}.tar.gz" &&     apk del openssl' returned a non-zero code: 127
penguinpowernz commented 2 years ago

I changed it so the Dockerfile was built from tag 5.2 (July 2020) and it worked.

CR-DMcDonald commented 7 months ago

Also had this same issue. @penguinpowernz solution resolved the problem in the short term. Specifically, change the first line of the Dockerfile to "FROM mitmproxy/mitmproxy:5.2" instead of "FROM mitmproxy/mitmproxy:latest".