076cd9cbfe
Add dockerfiles for each piece of infrastructure. Support no password for mysql. Also added the local logs shared folder with support for local venv code but further testing is needed. Change-Id: I983299a389a7e3230625114c2629ed86d765daa0
27 lines
611 B
Docker
27 lines
611 B
Docker
FROM debian:7
|
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get install -y python2.7
|
|
|
|
RUN update-alternatives --install /usr/bin/python python /usr/bin/python2.7 10
|
|
|
|
RUN apt-get install -y python-pip python-dev libmysqlclient-dev rpm bzip2 wget git build-essential libssl-dev libffi-dev
|
|
|
|
RUN pip install --upgrade cffi pyasn1
|
|
|
|
RUN pip install virtualenv PyYAML jinja2 paramiko
|
|
|
|
RUN git clone https://github.com/ansible/ansible.git
|
|
|
|
RUN cd ansible
|
|
|
|
RUN cd ansible && git checkout tags/v1.9.1-1
|
|
|
|
RUN cd ansible && make install
|
|
|
|
RUN mkdir /etc/ansible
|
|
|
|
RUN cd ansible && cp examples/ansible.cfg /etc/ansible/.
|
|
|
|
ENTRYPOINT /bin/bash |