diff options
Diffstat (limited to 'OS/Fedora/Dockerfile')
-rw-r--r-- | OS/Fedora/Dockerfile | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/OS/Fedora/Dockerfile b/OS/Fedora/Dockerfile index 00dcbc6..f574d5b 100644 --- a/OS/Fedora/Dockerfile +++ b/OS/Fedora/Dockerfile @@ -1,14 +1,7 @@ FROM fedora:latest MAINTAINER Chistophe LARUE <dev@startx.fr> -# Install packages and set up sshd -RUN yum -y update && yum clean all -RUN yum -y install openssh-server && yum clean all -RUN mkdir /var/run/sshd -RUN ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N '' - -# Add ssh keys -ADD .ssh/authorized_keys /root/.ssh/authorized_keys - -EXPOSE 22 -ENTRYPOINT ["/usr/sbin/sshd", "-D"]
\ No newline at end of file +# Install minimal packages +RUN yum -y install deltarpm pwgen \ + && yum -y update \ + && yum clean all |