mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +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 \
|
RUN yum -y install \
|
||||||
dbus-python \
|
dbus-python \
|
||||||
epel-release \
|
epel-release \
|
||||||
|
file \
|
||||||
git \
|
git \
|
||||||
make \
|
make \
|
||||||
mercurial \
|
mercurial \
|
||||||
@@ -34,7 +35,7 @@ RUN yum -y install \
|
|||||||
python-virtualenv
|
python-virtualenv
|
||||||
RUN sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers
|
RUN sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers
|
||||||
RUN mkdir /etc/ansible/
|
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
|
VOLUME /sys/fs/cgroup /run /tmp
|
||||||
ENV container=docker
|
ENV container=docker
|
||||||
CMD ["/usr/sbin/init"]
|
CMD ["/usr/sbin/init"]
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ RUN apt-get install -y \
|
|||||||
python-yaml
|
python-yaml
|
||||||
RUN sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers
|
RUN sed -i -e 's/^\(Defaults\s*requiretty\)/#--- \1/' /etc/sudoers
|
||||||
RUN mkdir /etc/ansible/
|
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
|
RUN locale-gen en_US.UTF-8
|
||||||
ENV container=docker
|
ENV container=docker
|
||||||
CMD ["/sbin/init"]
|
CMD ["/sbin/init"]
|
||||||
|
|||||||
Reference in New Issue
Block a user