1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
FROM startx/fedora MAINTAINER Christophe LARUE <dev@startx.fr> # Install packages and set up sshd RUN dnf -y update \ && dnf -y install openssh-server \ && dnf clean all # Copy startx toolkit COPY sx/* /sx/ # Copy ssh keys COPY .ssh/authorized_keys /root/.ssh/authorized_keys RUN chmod ug+rx /sx/sshd* EXPOSE 22 CMD ["/sx/sshd_run.sh"]