mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-22 07:08:10 +00:00
Copy examples into Docker image (#4447)
This commit is contained in:
parent
66c8ecc71e
commit
a5ed1d377b
@ -58,6 +58,7 @@ If you depend on these features, please raise your voice in
|
||||
* Add option `export_preserve_original_ip` to force exported command to connect to IP from original request. Only supports curl at the moment. (@dkasak)
|
||||
* Major proxy protocol testing (@r00t-)
|
||||
* Switch Docker image release to be based on Debian (@PeterDaveHello)
|
||||
* Added examples to Docker image (@abitrolly)
|
||||
* --- TODO: add new PRs above this line ---
|
||||
* ... and various other fixes, documentation improvements, dependency version bumps, etc.
|
||||
|
||||
|
@ -8,6 +8,10 @@ RUN apt-get update \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY $MITMPROXY_WHEEL /home/mitmproxy/
|
||||
COPY examples /home/mitmproxy/
|
||||
|
||||
WORKDIR /home/mitmproxy
|
||||
|
||||
RUN pip3 install --no-cache-dir -U /home/mitmproxy/${MITMPROXY_WHEEL} \
|
||||
&& rm -rf /home/mitmproxy/${MITMPROXY_WHEEL}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user