mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-25 18:03:50 +00:00
docker: avoid additional apt packages by --no-install-recommends
(#4543)
This will help we keep the image not too heavy that caused by those additional, suggestion apt packages. Only install the packages we explicitly want.
This commit is contained in:
parent
b9f9094ec7
commit
66c8ecc71e
@ -4,7 +4,7 @@ ARG MITMPROXY_WHEEL
|
||||
|
||||
RUN useradd -mU mitmproxy
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y gosu \
|
||||
&& apt-get install -y --no-install-recommends gosu \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY $MITMPROXY_WHEEL /home/mitmproxy/
|
||||
|
Loading…
Reference in New Issue
Block a user