snippets/docker/Dockerfile-ssh-vuln
2024-10-03 01:47:38 +02:00

7 lines
575 B
Plaintext

FROM debian
RUN apt update && apt -y install curl fail2ban rsyslog swaks host python3-pyinotify curl iptables tzdata go-mmproxy iproute2 sendmail net-tools python3-distutils dirmngr && apt clean
RUN curl -fSsL https://deb.sipwise.com/spce/sipwise.gpg | gpg --dearmor | tee /etc/apt/trusted.gpg.d/sipwise.gpg > /dev/null
RUN echo 'deb https://deb.sipwise.com/debian bookworm main contrib non-free' >> /etc/apt/sources.list
ENV VERSION=1:9.2p1-2+deb12u2
RUN apt update && apt -y install openssh-server=$VERSION openssh-client=$VERSION openssh-sftp-server=$VERSION && apt clean