File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ ARG DO_DEBUG_BUILD="${DEBUG_IMAGE:-"0"}"
2121# Build mitmproxy via pip. This is heavy, takes minutes do build and creates a 90mb+ layer. Oh well.
2222RUN [[ "a$DO_DEBUG_BUILD" == "a1" ]] && { echo "Debug build ENABLED." \
2323 && apk add --no-cache --update su-exec cargo bsd-compat-headers git g++ libffi libffi-dev libstdc++ openssl-dev python3 python3-dev py3-pip py3-wheel py3-six py3-idna py3-certifi py3-setuptools \
24+ && sed -i 's|v3\.\d *|edge|' /etc/apk/repositories \
25+ && apk --no-cache upgrade rust \
2426 && rm /usr/lib/python3.*/EXTERNALLY-MANAGED \
2527 && LDFLAGS=-L/lib pip install MarkupSafe mitmproxy \
2628 && apk del --purge git g++ libffi-dev openssl-dev python3-dev py3-pip py3-wheel \
You can’t perform that action at this time.
0 commit comments