docker: use Python 3.10

This commit is contained in:
Maximilian Hils 2022-03-19 15:38:30 +01:00
parent a95aed44a7
commit 218c942808

View File

@ -1,10 +1,10 @@
FROM python:3.9-bullseye as wheelbuilder FROM python:3.10-bullseye as wheelbuilder
ARG MITMPROXY_WHEEL ARG MITMPROXY_WHEEL
COPY $MITMPROXY_WHEEL /wheels/ COPY $MITMPROXY_WHEEL /wheels/
RUN pip install wheel && pip wheel --wheel-dir /wheels /wheels/${MITMPROXY_WHEEL} RUN pip install wheel && pip wheel --wheel-dir /wheels /wheels/${MITMPROXY_WHEEL}
FROM python:3.9-slim-bullseye FROM python:3.10-slim-bullseye
RUN useradd -mU mitmproxy RUN useradd -mU mitmproxy
RUN apt-get update \ RUN apt-get update \