Fixing up Dockerfiles some more to get tests passing fully

This commit is contained in:
James Cammarata 2016-03-04 09:16:10 -05:00
commit 7f34705b0c
3 changed files with 49 additions and 5 deletions

View file

@ -33,9 +33,9 @@ RUN yum -y install \
python-pip \
python-setuptools \
python-virtualenv
RUN sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers
RUN /usr/bin/sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers
RUN mkdir /etc/ansible/
RUN echo -e '[local]\nlocalhost ansible_connection=local' > /etc/ansible/hosts
RUN /usr/bin/echo -e '[local]\nlocalhost ansible_connection=local' > /etc/ansible/hosts
VOLUME /sys/fs/cgroup /run /tmp
ENV container=docker
CMD ["/usr/sbin/init"]