-
-
Notifications
You must be signed in to change notification settings - Fork 270
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
Build issues with docker-compose #5997
Comments
Building wheel for @eternaltyro What is the python version we are using in prod and staging? |
@Aadesh-Baral v3.10 |
@robsavoye Can you try building backend container from branch |
Installing
cc @eternaltyro cc @dakotabenjamin |
We used a similar fix for tasks.opensidewalks.com. I rebased onto 55b6570 from #6013, and things continue to build successfully. I also needed to add these two patches in addition to the PyYAML bump: I can PR if needed. Thanks. |
@cyrossignol Thanks for your input! we're working on migrating the backend container from an Alpine-based image to a Debian image. You can find the work in progress in PR #4646. Thanks again for your interest! |
There's two slightly related bugs trying to build a docker container from the develop branch.
COPY failed: file not found in build context or excluded by .dockerignore: stat frontend: file does not exist
ERROR: Service 'frontend' failed to build : Build failed
If I remove frontend from .dockerignore, docker-compose still fails trying to build with:
Collecting PyYAML==6.0
Downloading PyYAML-6.0.tar.gz (124 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 125.0/125.0 kB 1.7 MB/s eta 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [48 lines of output]
running egg_info
writing lib/PyYAML.egg-info/PKG-INFO
writing dependency_links to lib/PyYAML.egg-info/dependency_links.txt
writing top-level names to lib/PyYAML.egg-info/top_level.txt
Traceback (most recent call last):
The text was updated successfully, but these errors were encountered: