diff --git a/docker/Dockerfile b/docker/Dockerfile index de6cb1a22..04e3ffd34 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -10,14 +10,15 @@ RUN apt-get update && apt-get install --no-install-recommends -y openssh-client apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && rm -rf ~/.cache/ # Install IM -RUN apt-get update && apt-get install --no-install-recommends -y gcc python python-dev python-pip libmysqld-dev libssl-dev libffi-dev libsqlite3-dev && \ +RUN apt-get update && apt-get install --no-install-recommends -y gcc git python python-dev python-pip libmysqld-dev libssl-dev libffi-dev libsqlite3-dev && \ pip install setuptools --upgrade -I && \ pip install pip --upgrade -I && \ /usr/local/bin/pip install msrest msrestazure azure-common azure-mgmt-storage azure-mgmt-compute azure-mgmt-network azure-mgmt-resource azure-mgmt-dns azure-storage && \ /usr/local/bin/pip install MySQL-python pycrypto cheroot xmltodict pymongo && \ + cd /tmp && git clone https://github.com/apache/libcloud && /usr/local/bin/pip install /tmp/libcloud && \ /usr/local/bin/pip install IM==1.8.2 && \ /usr/local/bin/pip uninstall pip -y && \ - apt-get purge -y gcc python-dev python-pip libmysqld-dev libssl-dev libffi-dev libsqlite3-dev && \ + apt-get purge -y gcc git python-dev python-pip libmysqld-dev libssl-dev libffi-dev libsqlite3-dev && \ apt-get autoremove -y && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && rm -rf ~/.cache/ # Copy a ansible.cfg with correct minimum values