Update Dockerfile

This commit is contained in:
Faraz Fallahi
2021-01-25 21:15:25 -05:00
parent 0236e16b34
commit 02770080bd

View File

@@ -1,5 +1,4 @@
FROM ubuntu:latest
ENTRYPOINT ["/usr/sbin/sshd", "-D", "-e"]
RUN \
export DEBIAN_FRONTEND=noninteractive && \
@@ -27,3 +26,5 @@ RUN \
sed -ri 's/UsePAM yes/#UsePAM yes/g' /etc/ssh/sshd_config && \
echo 'root:root' | chpasswd && \
exit 0
ENTRYPOINT ["/usr/sbin/sshd", "-D", "-e"]