mirror of
https://github.com/Oxbian/SIDPS.git
synced 2025-07-07 12:24:38 +02:00
16 lines
445 B
Docker
16 lines
445 B
Docker
FROM python:alpine3.20
|
|
|
|
# Installation des paquets nécessaires pour scapy
|
|
RUN apk -U upgrade && \
|
|
apk add --no-cache libpcap libpcap-dev gcc musl-dev libffi-dev iproute2
|
|
RUN pip install scapy
|
|
|
|
COPY Demo/Dockerfiles/cible-entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
# Copier le script de détection d'attaques
|
|
#COPY cible.py /cible.py
|
|
|
|
# Lancer le script de détection
|
|
#CMD ["python", "/cible.py"]
|