Update Dockerfile
Browse files- Dockerfile +8 -2
Dockerfile
CHANGED
|
@@ -1,15 +1,21 @@
|
|
| 1 |
FROM python:3.10-slim
|
| 2 |
|
| 3 |
-
# Install system diagnostics,
|
| 4 |
USER root
|
| 5 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 6 |
nmap \
|
| 7 |
curl \
|
|
|
|
| 8 |
git \
|
| 9 |
dnsutils \
|
| 10 |
whois \
|
| 11 |
netcat-openbsd \
|
| 12 |
tshark \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
libcap2-bin \
|
| 14 |
&& rm -rf /var/lib/apt/lists/*
|
| 15 |
|
|
@@ -26,7 +32,7 @@ RUN chown -R user:user /app
|
|
| 26 |
|
| 27 |
USER user
|
| 28 |
|
| 29 |
-
# Install Python
|
| 30 |
RUN pip install --no-cache-dir --upgrade pip && \
|
| 31 |
pip install --no-cache-dir \
|
| 32 |
gradio>=4.44.0 \
|
|
|
|
| 1 |
FROM python:3.10-slim
|
| 2 |
|
| 3 |
+
# Install system diagnostics, networking utilities, and analysis tools
|
| 4 |
USER root
|
| 5 |
RUN apt-get update && apt-get install -y --no-install-recommends \
|
| 6 |
nmap \
|
| 7 |
curl \
|
| 8 |
+
wget \
|
| 9 |
git \
|
| 10 |
dnsutils \
|
| 11 |
whois \
|
| 12 |
netcat-openbsd \
|
| 13 |
tshark \
|
| 14 |
+
iputils-ping \
|
| 15 |
+
traceroute \
|
| 16 |
+
openssl \
|
| 17 |
+
jq \
|
| 18 |
+
socat \
|
| 19 |
libcap2-bin \
|
| 20 |
&& rm -rf /var/lib/apt/lists/*
|
| 21 |
|
|
|
|
| 32 |
|
| 33 |
USER user
|
| 34 |
|
| 35 |
+
# Install Python runtime dependencies
|
| 36 |
RUN pip install --no-cache-dir --upgrade pip && \
|
| 37 |
pip install --no-cache-dir \
|
| 38 |
gradio>=4.44.0 \
|