diff --git a/tests/sshd-test/Dockerfile b/tests/sshd-test/Dockerfile index 47e4cc2..cae7d50 100644 --- a/tests/sshd-test/Dockerfile +++ b/tests/sshd-test/Dockerfile @@ -6,11 +6,10 @@ ENV DEBIAN_FRONTEND=noninteractive ENV TZ=Europe/Warsaw RUN apt-get update && \ - apt-get install -y openssh-server openssh-sftp-server vim && \ + apt-get install -y openssh-server='1:9.6p1-3ubuntu13.4' openssh-sftp-server='1:9.6p1-3ubuntu13.4' && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* -# hadolint ignore=DL3006 RUN echo 'root:root' |chpasswd RUN sed -ri 's/^#?PermitRootLogin\s+.*/PermitRootLogin yes/g' /etc/ssh/sshd_config