summaryrefslogtreecommitdiffstats
path: root/ansible/test/images/docker/centos7/Dockerfile
blob: 67e3fb93f31b58d066a0a8bdef80effa0098a53d (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 e2fsprogs
RUN systemctl enable sshd.service

VOLUME ["/run"]

EXPOSE 22

CMD ["/usr/sbin/init"]