Browse Source

Dockerfile: move comments to fix build error

Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
unclejack 8 years ago
parent
commit
c7c9235946
2 changed files with 7 additions and 7 deletions
  1. 4 4
      Dockerfile
  2. 3 3
      Dockerfile.aarch64

+ 4 - 4
Dockerfile

@@ -192,13 +192,13 @@ RUN set -x \
 
 # Get the "docker-py" source so we can run their integration tests
 ENV DOCKER_PY_COMMIT 4a08d04aef0595322e1b5ac7c52f28a931da85a5
+# To run integration tests docker-pycreds is required.
+# Before running the integration tests conftest.py is
+# loaded which results in loads auth.py that
+# imports the docker-pycreds module.
 RUN git clone https://github.com/docker/docker-py.git /docker-py \
 	&& cd /docker-py \
 	&& git checkout -q $DOCKER_PY_COMMIT \
-	# To run integration tests docker-pycreds is required.
-	# Before running the integration tests conftest.py is
-	# loaded which results in loads auth.py that
-	# imports the docker-pycreds module.
 	&& pip install docker-pycreds==0.2.1 \
 	&& pip install -r test-requirements.txt
 

+ 3 - 3
Dockerfile.aarch64

@@ -143,13 +143,13 @@ RUN set -x \
 
 # Get the "docker-py" source so we can run their integration tests
 ENV DOCKER_PY_COMMIT 4a08d04aef0595322e1b5ac7c52f28a931da85a5
+# Before running the integration tests conftest.py is
+# loaded which results in loads auth.py that
+# imports the docker-pycreds module.
 RUN git clone https://github.com/docker/docker-py.git /docker-py \
 	&& cd /docker-py \
 	&& git checkout -q $DOCKER_PY_COMMIT \
 	&& pip install wheel \
-	# Before running the integration tests conftest.py is
-	# loaded which results in loads auth.py that
-	# imports the docker-pycreds module.
 	&& pip install docker-pycreds==0.2.1 \
 	&& pip install -r test-requirements.txt