From 25a402256893d2fcaf9d7c6fd3d82cb20af35851 Mon Sep 17 00:00:00 2001 From: startxfr Date: Sun, 16 Nov 2014 02:39:30 +0100 Subject: ajout d'une image fedora pour servir de base. Ajout de la clef ssh cl@alcor. Modif de l'image apache-php pour s'appuyer sur startx/fedora --- OS/Fedora/Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 OS/Fedora/Dockerfile (limited to 'OS/Fedora/Dockerfile') diff --git a/OS/Fedora/Dockerfile b/OS/Fedora/Dockerfile new file mode 100644 index 0000000..00dcbc6 --- /dev/null +++ b/OS/Fedora/Dockerfile @@ -0,0 +1,14 @@ +FROM fedora:latest +MAINTAINER Chistophe LARUE + +# 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 -- cgit v1.2.3