Browse Source

Merge "Fix docker image not building"

tags/7.0.0.0b3
Zuul 10 months ago
parent
commit
4625c85aca
2 changed files with 11 additions and 1 deletions
  1. 8
    0
      tools/docker/DOCKER_README.rst
  2. 3
    1
      tools/docker/Dockerfile

+ 8
- 0
tools/docker/DOCKER_README.rst View File

@@ -63,6 +63,14 @@ for example::
63 63
                -f tools/docker/docker-compose/mistral-single-node.yaml \
64 64
                -p mistral up -d --build
65 65
 
66
+Running the Mistral client from the Docker Compose container
67
+------------------------------------------------------------
68
+
69
+To run the mistral client against the server in the container using the client
70
+present in the container::
71
+
72
+  docker run -it mistral_mistral mistral workflow-list
73
+
66 74
 Configuring Mistral
67 75
 -------------------
68 76
 

+ 3
- 1
tools/docker/Dockerfile View File

@@ -8,6 +8,7 @@ LABEL name="Mistral" \
8 8
 RUN apt-get -qq update && \
9 9
     apt-get install -y  \
10 10
       libffi-dev \
11
+      libpq-dev \
11 12
       libssl-dev \
12 13
       libxml2-dev \
13 14
       libxslt1-dev \
@@ -22,7 +23,8 @@ RUN apt-get -qq update && \
22 23
       libuv1 \
23 24
       libuv1-dev && \
24 25
       curl -f -o /tmp/get-pip.py https://bootstrap.pypa.io/3.2/get-pip.py && \
25
-      python /tmp/get-pip.py && rm /tmp/get-pip.py
26
+      python /tmp/get-pip.py && rm /tmp/get-pip.py && \
27
+      pip install --upgrade pip
26 28
 
27 29
 RUN pip install pymysql psycopg2 py_mini_racer
28 30
 

Loading…
Cancel
Save