2017-09-14 07:47:27 +00:00
|
|
|
FROM centos:7
|
|
|
|
|
|
|
|
# This is needed so that ansible managed to read "ansible_default_ipv4"
|
2017-09-14 08:56:34 +00:00
|
|
|
RUN yum install iproute -y
|
|
|
|
|
|
|
|
# This step is needed since standard CentOS docker image does not come with EPEL installed by default
|
2017-09-14 08:59:59 +00:00
|
|
|
RUN yum install epel-release -y
|
2017-09-14 07:47:27 +00:00
|
|
|
|
2017-09-14 11:14:50 +00:00
|
|
|
# This step is needed since standard CentOS docker image does not come with init-functions installed by default.
|
|
|
|
# This package seems to be required for Mongo 3.2 and downwards
|
|
|
|
RUN yum install initscripts -y
|
|
|
|
|
2017-09-14 07:47:27 +00:00
|
|
|
# we can has SSH
|
|
|
|
EXPOSE 22
|
|
|
|
|
|
|
|
# pepare for takeoff
|
2017-09-14 08:56:34 +00:00
|
|
|
CMD ["/usr/sbin/init"]
|