Use the slim base image for container (#4889)

This commit is contained in:
Christian Zenker 2021-11-16 12:49:12 +01:00 committed by GitHub
parent 301f8cf79d
commit eb43ae4709
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ 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-bullseye FROM python:3.9-slim-bullseye
RUN useradd -mU mitmproxy RUN useradd -mU mitmproxy
RUN apt-get update \ RUN apt-get update \