29 lines
522 B
Docker
29 lines
522 B
Docker
|
FROM alpine:latest
|
|||
|
|
|||
|
WORKDIR /home/attaquant
|
|||
|
|
|||
|
RUN adduser -D attaquant
|
|||
|
|
|||
|
RUN apk add \
|
|||
|
bash \
|
|||
|
bind-tools \
|
|||
|
curl \
|
|||
|
ncurses-terminfo-base \
|
|||
|
opendkim-libs \
|
|||
|
opendkim-utils \
|
|||
|
perl \
|
|||
|
python3 \
|
|||
|
py3-dnspython \
|
|||
|
py3-pip \
|
|||
|
py3-rich
|
|||
|
|
|||
|
RUN pip install dkimpy
|
|||
|
|
|||
|
# TODO mettre un bashrc qui positionne un prompt qui montre bien qu’on est
|
|||
|
# en train d’être méchant
|
|||
|
|
|||
|
USER attaquant
|
|||
|
ENTRYPOINT ["/bin/bash"]
|
|||
|
|
|||
|
COPY --chown=attaquant scripts /home/attaquant/scripts
|