d2vm/examples/ubuntu.Dockerfile

6 lines
161 B
Docker

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