Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
| ... | ... |
@@ -192,13 +192,13 @@ RUN set -x \ |
| 192 | 192 |
|
| 193 | 193 |
# Get the "docker-py" source so we can run their integration tests |
| 194 | 194 |
ENV DOCKER_PY_COMMIT 4a08d04aef0595322e1b5ac7c52f28a931da85a5 |
| 195 |
+# To run integration tests docker-pycreds is required. |
|
| 196 |
+# Before running the integration tests conftest.py is |
|
| 197 |
+# loaded which results in loads auth.py that |
|
| 198 |
+# imports the docker-pycreds module. |
|
| 195 | 199 |
RUN git clone https://github.com/docker/docker-py.git /docker-py \ |
| 196 | 200 |
&& cd /docker-py \ |
| 197 | 201 |
&& git checkout -q $DOCKER_PY_COMMIT \ |
| 198 |
- # To run integration tests docker-pycreds is required. |
|
| 199 |
- # Before running the integration tests conftest.py is |
|
| 200 |
- # loaded which results in loads auth.py that |
|
| 201 |
- # imports the docker-pycreds module. |
|
| 202 | 202 |
&& pip install docker-pycreds==0.2.1 \ |
| 203 | 203 |
&& pip install -r test-requirements.txt |
| 204 | 204 |
|
| ... | ... |
@@ -143,13 +143,13 @@ RUN set -x \ |
| 143 | 143 |
|
| 144 | 144 |
# Get the "docker-py" source so we can run their integration tests |
| 145 | 145 |
ENV DOCKER_PY_COMMIT 4a08d04aef0595322e1b5ac7c52f28a931da85a5 |
| 146 |
+# Before running the integration tests conftest.py is |
|
| 147 |
+# loaded which results in loads auth.py that |
|
| 148 |
+# imports the docker-pycreds module. |
|
| 146 | 149 |
RUN git clone https://github.com/docker/docker-py.git /docker-py \ |
| 147 | 150 |
&& cd /docker-py \ |
| 148 | 151 |
&& git checkout -q $DOCKER_PY_COMMIT \ |
| 149 | 152 |
&& pip install wheel \ |
| 150 |
- # Before running the integration tests conftest.py is |
|
| 151 |
- # loaded which results in loads auth.py that |
|
| 152 |
- # imports the docker-pycreds module. |
|
| 153 | 153 |
&& pip install docker-pycreds==0.2.1 \ |
| 154 | 154 |
&& pip install -r test-requirements.txt |
| 155 | 155 |
|