snippets/docker/Dockerfile-ssh-vuln
2024-10-03 13:21:54 +02:00

6 lines
392 B
Plaintext

FROM debian
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