mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 00:03:10 +00:00
Minor update to the Dockerfiles
This commit is contained in:
@@ -12,6 +12,7 @@ rm -f /lib/systemd/system/anaconda.target.wants/*;
|
||||
RUN yum -y install \
|
||||
dbus-python \
|
||||
epel-release \
|
||||
file \
|
||||
git \
|
||||
make \
|
||||
mercurial \
|
||||
@@ -34,7 +35,7 @@ RUN yum -y install \
|
||||
python-virtualenv
|
||||
RUN sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers
|
||||
RUN mkdir /etc/ansible/
|
||||
RUN echo -e '[local]\nlocalhost' > /etc/ansible/hosts
|
||||
RUN echo -e '[local]\nlocalhost ansible_connection=local' > /etc/ansible/hosts
|
||||
VOLUME /sys/fs/cgroup /run /tmp
|
||||
ENV container=docker
|
||||
CMD ["/usr/sbin/init"]
|
||||
|
||||
@@ -24,7 +24,7 @@ RUN apt-get install -y \
|
||||
python-yaml
|
||||
RUN sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers
|
||||
RUN mkdir /etc/ansible/
|
||||
RUN echo -e '[local]\nlocalhost' > /etc/ansible/hosts
|
||||
RUN echo -e '[local]\nlocalhost ansible_connection=local' > /etc/ansible/hosts
|
||||
RUN locale-gen en_US.UTF-8
|
||||
ENV container=docker
|
||||
CMD ["/sbin/init"]
|
||||
|
||||
Reference in New Issue
Block a user