9 lines
248 B
Markdown
9 lines
248 B
Markdown
|
|
```Dockerfile
|
|
FROM alpine:latest
|
|
|
|
RUN apk add --no-cache tini py-pip curl gcc
|
|
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
|
ENV PATH="/root/.cargo/bin:${PATH}"
|
|
RUN PIP_BREAK_SYSTEM_PACKAGES=1 pip install mitmproxy
|
|
``` |