ansible-role-mongodb/tests/Dockerfile.centos_7-builded

12 lines
327 B
Docker
Raw Normal View History

2017-09-14 07:47:27 +00:00
FROM centos:7
# This is needed so that ansible managed to read "ansible_default_ipv4"
# This step is needed since standard CentOS docker image does not come with EPEL installed by default
RUN yum install iproute epel-release python-pip python-devel -y
2017-09-14 07:47:27 +00:00
# we can has SSH
EXPOSE 22
# pepare for takeoff
CMD ["/usr/sbin/init"]