diff --git a/Dockerfile b/Dockerfile index 8a361cede..4badcf811 100644 --- a/Dockerfile +++ b/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 diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 2a6d0fdea..a8ddf9c85 100644 --- a/Dockerfile.aarch64 +++ b/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