Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker build is broken #329

Open
MartenM opened this issue Apr 24, 2024 · 1 comment
Open

Docker build is broken #329

MartenM opened this issue Apr 24, 2024 · 1 comment

Comments

@MartenM
Copy link

MartenM commented Apr 24, 2024

Running docker-compose build fails:

[+] Building 9.1s (9/12)                                                                                     docker:default 
 => [snare internal] load .dockerignore                                                                                0.0s 
 => => transferring context: 2B                                                                                        0.0s 
 => [snare internal] load build definition from Dockerfile                                                             0.0s 
 => => transferring dockerfile: 610B                                                                                   0.0s 
 => [snare internal] load metadata for docker.io/library/python:3.6-alpine3.8                                          0.9s 
 => [snare 1/8] FROM docker.io/library/python:3.6-alpine3.8@sha256:a8b493929ca87fdab5114339c80db072f466bc5ddbf8b68687  0.0s 
 => [snare internal] load build context                                                                                0.0s 
 => => transferring context: 8.03kB                                                                                    0.0s 
 => CACHED [snare 2/8] RUN apk -U --no-cache add git build-base &&     rm -rf /root/* &&     rm -rf /tmp/* /var/tmp/*  0.0s 
 => CACHED [snare 3/8] RUN pip3 install --no-cache-dir -U pip setuptools                                               0.0s 
 => CACHED [snare 4/8] ADD requirements.txt .                                                                          0.0s 
 => ERROR [snare 5/8] RUN pip3 install --no-cache-dir -r requirements.txt                                              8.1s 
------
 > [snare 5/8] RUN pip3 install --no-cache-dir -r requirements.txt:
2.536 Collecting aiohttp==3.7.4
2.623   Downloading aiohttp-3.7.4.tar.gz (1.1 MB)
3.110   Installing build dependencies: started
6.361   Installing build dependencies: finished with status 'done'
6.362   Getting requirements to build wheel: started
6.758   Getting requirements to build wheel: finished with status 'done'
6.761   Preparing metadata (pyproject.toml): started
7.162   Preparing metadata (pyproject.toml): finished with status 'done'
7.227 Collecting aiohttp_jinja2==1.5.0
7.252   Downloading aiohttp_jinja2-1.5-py3-none-any.whl (11 kB)
7.310 Collecting beautifulsoup4==4.6.3
7.337   Downloading beautifulsoup4-4.6.3-py3-none-any.whl (90 kB)
7.447 Collecting cssutils==1.0.2
7.466   Downloading cssutils-1.0.2-py3-none-any.whl (406 kB)
7.665 ERROR: Could not find a version that satisfies the requirement gitpython==3.1.30 (from versions: 0.1.7, 0.2.0b1, 0.3.0b1, 0.3.0b2, 0.3.1b2, 0.3.2rc1, 0.3.2, 0.3.2.1, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 1.0.0, 1.0.1, 1.0.2, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.9.dev0, 2.0.9.dev1, 2.0.9, 2.1.0, 2.1.1, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.1.7, 2.1.8, 2.1.9, 2.1.10, 2.1.11, 2.1.12, 2.1.13, 2.1.14, 2.1.15, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.0.7, 3.0.8, 
3.0.9, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.1.5, 3.1.6, 3.1.7, 3.1.8, 3.1.9, 3.1.10, 3.1.11, 3.1.12, 3.1.13, 3.1.14, 3.1.15, 3.1.16, 3.1.17, 3.1.18, 3.1.19, 3.1.20)
7.665 ERROR: No matching distribution found for gitpython==3.1.30
------
failed to solve: process "/bin/sh -c pip3 install --no-cache-dir -r requirements.txt" did not complete successfully: exit code: 1```

Pulled the most recent version.
@DHSNIEL
Copy link

DHSNIEL commented Jun 12, 2024

Hello, I also experienced the same problem. Is there any fix to this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants