Update Docker Images

Docker image files updated with entrypoint and submodules for
ansible to run correctly.

Change-Id: I8de1ea5e3198009e2e7bfb8903bdfca986493778
This commit is contained in:
Brian Stajkowski 2016-07-13 09:56:44 -07:00
parent de42eda7be
commit d76ab46e07
3 changed files with 11 additions and 5 deletions

View File

@ -10,7 +10,7 @@ RUN apt-get install -y python-pip python-dev libmysqlclient-dev rpm bzip2 wget g
RUN pip install --upgrade cffi pyasn1
RUN pip install virtualenv PyYAML jinja2 paramiko
RUN pip install virtualenv PyYAML jinja2 paramiko ansible==1.9.1
RUN git clone https://github.com/ansible/ansible.git
@ -18,10 +18,12 @@ RUN cd ansible
RUN cd ansible && git checkout tags/v1.9.1-1
RUN cd ansible && git submodule update --init --recursive
RUN cd ansible && make install
RUN mkdir /etc/ansible
RUN cd ansible && cp examples/ansible.cfg /etc/ansible/.
ENTRYPOINT /bin/bash
ENTRYPOINT ["/bin/bash", "-c", "ansible-playbook -i localhost, /root/package-neutron.yaml"]

View File

@ -10,7 +10,7 @@ RUN apt-get install -y python-pip python-dev libmysqlclient-dev rpm bzip2 wget g
RUN pip install --upgrade cffi pyasn1
RUN pip install virtualenv PyYAML jinja2 paramiko
RUN pip install virtualenv PyYAML jinja2 paramiko ansible==1.9.1
RUN git clone https://github.com/ansible/ansible.git
@ -18,10 +18,12 @@ RUN cd ansible
RUN cd ansible && git checkout tags/v1.9.1-1
RUN cd ansible && git submodule update --init --recursive
RUN cd ansible && make install
RUN mkdir /etc/ansible
RUN cd ansible && cp examples/ansible.cfg /etc/ansible/.
ENTRYPOINT /bin/bash
ENTRYPOINT ["/bin/bash", "-c", "ansible-playbook -i localhost, /root/package-neutron.yaml"]

View File

@ -18,10 +18,12 @@ RUN cd ansible
RUN cd ansible && git checkout tags/v1.9.1-1
RUN cd ansible && git submodule update --init --recursive
RUN cd ansible && make install
RUN mkdir /etc/ansible
RUN cd ansible && cp examples/ansible.cfg /etc/ansible/.
ENTRYPOINT /bin/bash
ENTRYPOINT ["/bin/bash", "-c", "ansible-playbook -i localhost, /root/package-neutron.yaml"]