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

VOLUME ["/run"]

EXPOSE 22

CMD ["/usr/sbin/init"]