Skip to content

Docker build don't work #25

@websidian

Description

@websidian

My Docker build didn't work, I think becaus of django filler...
Am I doing somthing wrong ?

`XYZ:~/_dev/development/django-cms-quickstart$ sudo docker-compose build web
Building web
Sending build context to Docker daemon 188.9kB
Step 1/6 : FROM python:3.9
3.9: Pulling from library/python
5492f66d2700: Pull complete
540ff8c0841d: Pull complete
a0bf850a0df0: Pull complete
d751dc38ae51: Pull complete
9720a112e886: Pull complete
f97b81fbdbd9: Pull complete
e0fc7cdc10cb: Pull complete
c749d2e5ce0f: Pull complete
71985ebd4155: Pull complete
Digest: sha256:0208c1b66de6e22480b3ad6334fc4fe2ef030572cf1fb1f699e68038fafcad00
Status: Downloaded newer image for python:3.9
---> 40264b427ab5
Step 2/6 : WORKDIR /app
---> Running in c7118202e88e
Removing intermediate container c7118202e88e
---> 9b576bf5f2cb
Step 3/6 : COPY . /app
---> f63e7e1eb0fa
Step 4/6 : RUN pip install -r requirements.txt
---> Running in 1ae5bcc35214
Collecting django-filer@ https://github.com/django-cms/django-filer/archive/refs/tags/2.1.1.zip
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f6a9c52e3d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /django-cms/django-filer/archive/refs/tags/2.1.1.zip
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f6a9c57f6d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /django-cms/django-filer/archive/refs/tags/2.1.1.zip
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f6a9c52e760>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /django-cms/django-filer/archive/refs/tags/2.1.1.zip
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f6a9c52e280>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /django-cms/django-filer/archive/refs/tags/2.1.1.zip
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f6a9c52e0d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /django-cms/django-filer/archive/refs/tags/2.1.1.zip
ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /django-cms/django-filer/archive/refs/tags/2.1.1.zip (Caused by NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f6a9c52e4f0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))

The command '/bin/sh -c pip install -r requirements.txt' returned a non-zero code: 1
ERROR: Service 'web' failed to build : Build failed
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions