1
0
Fork 0
myserver-configuration/docker/Dockerfile

7 lines
No EOL
141 B
Docker

FROM fedora:38
RUN dnf install openssh-server -y
RUN ssh-keygen -A -v
EXPOSE 22
CMD ["/usr/sbin/sshd", "-D", "-o", "ListenAddress=0.0.0.0"]