diff options
author | Samuli Silvius <s.silvius@partner.samsung.com> | 2019-04-09 14:09:28 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-09 14:09:28 +0000 |
commit | 7a24bfe9681129dc7135229da151deaa3a2dc5e8 (patch) | |
tree | d679965b8a665e3f36d72daaf1f099493130e013 /ansible | |
parent | 2aff0c9b98e318977d0b3c675ba286c8153911e3 (diff) | |
parent | ab94ea5d82dadd18f892d3a45fd380473758a4ae (diff) |
Merge "Improve dockerfile for Centos7"
Diffstat (limited to 'ansible')
-rw-r--r-- | ansible/test/images/docker/centos7/Dockerfile | 5 |
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"] |