summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ansible/test/images/docker/centos7/Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/ansible/test/images/docker/centos7/Dockerfile b/ansible/test/images/docker/centos7/Dockerfile
index 289ee8c6..b36d58cb 100644
--- a/ansible/test/images/docker/centos7/Dockerfile
+++ b/ansible/test/images/docker/centos7/Dockerfile
@@ -1,8 +1,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"]