FROM centos:centos6 COPY build-initial-centos6.sh /tmp COPY centos6-eol.repo /etc/yum.repos.d/ RUN /tmp/build-initial-centos6.sh && rm -rf /tmp/* CMD ["/usr/sbin/sshd -D"]