From 056c8521f90b23058b414bdde7225b7a6d2be9ea Mon Sep 17 00:00:00 2001 From: ricardop Date: Fri, 3 Apr 2020 14:12:43 +0200 Subject: [PATCH] use specific mitmproxy version (latest in 4.x branch) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 224c3ed..48df1ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ FROM rpardini/nginx-proxy-connect-stable-alpine:nginx-1.16.1-alpine-3.11 # Add openssl, bash and ca-certificates, then clean apk cache -- yeah complain all you want. # Also added deps for mitmproxy. RUN apk add --update openssl bash ca-certificates su-exec coreutils git g++ libffi libffi-dev libstdc++ openssl openssl-dev python3 python3-dev \ - && LDFLAGS=-L/lib pip3 install mitmproxy \ + && LDFLAGS=-L/lib pip3 install mitmproxy==4.0.4 \ && apk del --purge git g++ libffi-dev openssl-dev python3-dev \ && rm -rf /var/cache/apk/* \ && rm -rf ~/.cache/pip