mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 12:29:40 +00:00
docker: use Python 3.10
This commit is contained in:
parent
a95aed44a7
commit
218c942808
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user