mirror of
https://github.com/Oxbian/SIDPS.git
synced 2025-05-18 14:38:13 +02:00
19 lines
493 B
Docker
19 lines
493 B
Docker
FROM python:alpine3.20
|
|
|
|
# Installation des paquets nécessaires pour scapy
|
|
RUN apk -U upgrade && \
|
|
apk add --no-cache nmap iproute2
|
|
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
|
|
RUN apk -U add --no-cache hping3
|
|
|
|
COPY Demo/Dockerfiles/attaquant-entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
|
|
# Copier le script d'attaque
|
|
#COPY attack.py /attack.py
|
|
|
|
# Lancer le script d'attaque
|
|
#CMD ["python", "/attack.py"]
|
|
|