ansible-role-mongodb/tests/Dockerfile.amazonlinux_2-bu...

13 lines
370 B
Docker

FROM amazonlinux:2
# 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 i
# This package seems to be required for Mongo 3.2 and downwards
RUN yum install iproute initscripts python-pip python-devel -y
# we can has SSH
EXPOSE 22
# pepare for takeoff
CMD ["/usr/sbin/init"]