mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 22:00:34 +00:00
Refactor docs clirecording Dockerfile (#4484)
* Delete apt-get lists after apt-get install in docs Dockerfile * Prevent pip install cache in docs Dockerfile * Prevent additional & unnecessary apt packages in docs Dockerfile
This commit is contained in:
parent
c40bc2fc2a
commit
c3ae2d98db
@ -6,7 +6,7 @@ ENV LANGUAGE en_US.UTF-8
|
||||
ENV TERM screen-256color
|
||||
|
||||
# install mitmproxy, asciinema, and dependencies
|
||||
RUN apt-get update && apt-get install -y \
|
||||
RUN apt-get update && apt-get install --no-install-recommends -y \
|
||||
asciinema \
|
||||
autoconf \
|
||||
automake \
|
||||
@ -23,11 +23,13 @@ RUN apt-get update && apt-get install -y \
|
||||
pkg-config \
|
||||
python3-pip \
|
||||
python3 \
|
||||
python3-setuptools \
|
||||
wget \
|
||||
xterm \
|
||||
&& locale-gen --purge "en_US.UTF-8" \
|
||||
&& update-locale "LANG=en_US.UTF-8" \
|
||||
&& pip3 install libtmux curl requests mitmproxy
|
||||
&& pip3 install --no-cache-dir libtmux curl requests mitmproxy \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# install latest tmux (to support popups)
|
||||
RUN git clone --depth 1 https://github.com/tmux/tmux.git \
|
||||
|
Loading…
Reference in New Issue
Block a user