Update Dockerfile to use apt-get for package installation and improve ip_forward configuration
This commit is contained in:
parent
82cabddb73
commit
16002551ea
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
FROM debian:stable-slim
|
||||
RUN apk add --no-cache curl iputils-ping dsniff
|
||||
RUN echo 1 | tee /proc/sys/net/ipv4/ip_forward
|
||||
RUN apt-get update && apt-get install -y dsniff \
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& echo 1 >> /proc/sys/net/ipv4/ip_forward
|
||||
CMD ["curl", "--insecure", "https://webserver/"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue