Minor update to the Dockerfiles

pull/14799/head
James Cammarata 9 years ago
parent 8f1303c81a
commit fa630872d9

@ -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"]

Loading…
Cancel
Save