mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-24 13:04:00 -07:00
Fixing up Dockerfiles some more to get tests passing fully
This commit is contained in:
parent
2da2dc621b
commit
7f34705b0c
3 changed files with 49 additions and 5 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue