Minor update to the Dockerfiles
This commit is contained in:
parent
8f1303c81a
commit
fa630872d9
2 changed files with 3 additions and 2 deletions
|
@ -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"]
|
||||||
|
|
Loading…
Reference in a new issue