Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mitmproxy docker image is not anymore based on Alpine #2

Open
ben-64 opened this issue Dec 27, 2021 · 2 comments
Open

mitmproxy docker image is not anymore based on Alpine #2

ben-64 opened this issue Dec 27, 2021 · 2 comments

Comments

@ben-64
Copy link

ben-64 commented Dec 27, 2021

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
Copy link

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

@CR-DMcDonald
Copy link

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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants