d2vm/examples/debian.Dockerfile

6 lines
161 B
Docker

FROM debian
RUN apt update && apt install -y openssh-server systemctl && \
systemctl enable ssh && \
echo "PermitRootLogin yes" >> /etc/ssh/sshd_config