snippets/docker/Dockerfile-ssh-vuln

6 lines
392 B
Plaintext
Raw Normal View History

2024-10-02 23:47:38 +00:00
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