-
-
Notifications
You must be signed in to change notification settings - Fork 21
Description
Is your enhancement request related to a problem? Please describe.
Describe the problem that you would like to address.
Again I tried to run DejaCode and again I ran into a build failure:
8.308 Processing ./thirdparty/dist/rpds_py-0.25.1.tar.gz (from dejacode==5.5.0)
8.313 Installing build dependencies: started
9.899 Installing build dependencies: finished with status 'error'
9.904 error: subprocess-exited-with-error
9.904
9.904 × installing build dependencies for rpds-py did not run successfully.
9.904 │ exit code: 1
9.904 ╰─> [20 lines of output]
9.904 Looking in links: /opt/dejacode/thirdparty/dist/
9.904 Processing ./thirdparty/dist/maturin-1.8.6.tar.gz
9.904 Installing build dependencies: started
9.904 Installing build dependencies: finished with status 'done'
9.904 Getting requirements to build wheel: started
9.904 Getting requirements to build wheel: finished with status 'done'
9.904 Installing backend dependencies: started
9.904 Installing backend dependencies: finished with status 'error'
9.904 error: subprocess-exited-with-error
9.904
9.904 × installing backend dependencies for maturin did not run successfully.
9.904 │ exit code: 1
9.904 ╰─> [3 lines of output]
9.904 Looking in links: /opt/dejacode/thirdparty/dist/
9.904 ERROR: Could not find a version that satisfies the requirement puccinialin<0.2,>=0.1 (from versions: none)
9.904 ERROR: No matching distribution found for puccinialin<0.2,>=0.1
9.904 [end of output]
9.904
9.904 note: This error originates from a subprocess, and is likely not a problem with pip.
9.904 ERROR: Failed to build 'maturin' when installing backend dependencies for maturin
9.904 [end of output]
9.904
9.904 note: This error originates from a subprocess, and is likely not a problem with pip.
9.904 ERROR: Failed to build 'rpds-py' when installing build dependencies for rpds-py
------
Dockerfile:69
A builld failure is a blocker for people to get started with running Dejacode.
I suggest to update the documentation section Run with Docker to use existing containers, rather than building.
In my case it worked to update the default docker-compose file:
I replaced the instances of:
build: .with:
image: ghcr.io/aboutcode-org/dejacode:v5.5.0What are the benefits of the requested enhancement?
How will the new functionality benefit DejaCode users?
Guaranteed to work and faster to spin up.
Describe the solution you would like
Provide a concise scenario or use case that needs to be supported in DejaCode.
Update the docker-compose setup to use pre-built images, or provide a variant with pre-built images.
If security-issues are a concern, perhaps the multi-stage docker can be changed to copy the application from the hosted container and copy them into an up-to-date OS-container.
Additional notes
Add any other context or screenshots about the feature request here.