summaryrefslogtreecommitdiffstats
path: root/ansible/test/images/docker/centos7/Dockerfile
blob: b36d58cbc7ea42f9bfa7ee3943f9403151ec739e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM centos/systemd

RUN yum -y update && yum clean all

RUN yum -y install openssh-server sudo openssh-clients \
    epel-release python-docker-py iproute
RUN systemctl enable sshd.service

VOLUME ["/run"]

EXPOSE 22

CMD ["/usr/sbin/init"]