This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM centos:centos6 | |
MAINTAINER Richard Louapre <[email protected]> | |
#update yum repository and install openssh server | |
RUN yum update -y | |
RUN yum install -y openssh-server | |
#generate ssh key | |
RUN ssh-keygen -q -N "" -t dsa -f /etc/ssh/ssh_host_dsa_key | |
RUN ssh-keygen -q -N "" -t rsa -f /etc/ssh/ssh_host_rsa_key |