Merge "Fix docker image not building"

This commit is contained in:
Zuul 2018-08-01 09:46:54 +00:00 committed by Gerrit Code Review
commit 4625c85aca
2 changed files with 11 additions and 1 deletions

View File

@ -63,6 +63,14 @@ for example::
-f tools/docker/docker-compose/mistral-single-node.yaml \
-p mistral up -d --build
Running the Mistral client from the Docker Compose container
------------------------------------------------------------
To run the mistral client against the server in the container using the client
present in the container::
docker run -it mistral_mistral mistral workflow-list
Configuring Mistral
-------------------

View File

@ -8,6 +8,7 @@ LABEL name="Mistral" \
RUN apt-get -qq update && \
apt-get install -y \
libffi-dev \
libpq-dev \
libssl-dev \
libxml2-dev \
libxslt1-dev \
@ -22,7 +23,8 @@ RUN apt-get -qq update && \
libuv1 \
libuv1-dev && \
curl -f -o /tmp/get-pip.py https://bootstrap.pypa.io/3.2/get-pip.py && \
python /tmp/get-pip.py && rm /tmp/get-pip.py
python /tmp/get-pip.py && rm /tmp/get-pip.py && \
pip install --upgrade pip
RUN pip install pymysql psycopg2 py_mini_racer