From 67edf7efda7bbba3e62eac2d25f6f12ddbfa28a3 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Thu, 8 Oct 2020 02:32:00 +0200 Subject: [PATCH] fix python3 deps for mitmproxy/mitmweb (-e DEBUG=true) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9f49627..57d69a0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ ENV DO_DEBUG_BUILD="$DEBUG_BUILD" # Build mitmproxy via pip. This is heavy, takes minutes do build and creates a 90mb+ layer. Oh well. RUN [[ "a$DO_DEBUG_BUILD" == "a1" ]] && { echo "Debug build ENABLED." \ - && apk add --no-cache --update su-exec git g++ libffi libffi-dev libstdc++ openssl-dev python3 python3-dev py3-pip py3-wheel \ + && apk add --no-cache --update su-exec git g++ libffi libffi-dev libstdc++ openssl-dev python3 python3-dev py3-pip py3-wheel py3-six py3-idna py3-certifi py3-setuptools \ && LDFLAGS=-L/lib pip install mitmproxy==4.0.4 \ && apk del --purge git g++ libffi-dev openssl-dev python3-dev py3-pip py3-wheel \ && rm -rf ~/.cache/pip \