ragflow icon indicating copy to clipboard operation
ragflow copied to clipboard

[Question]: docker build images failed, uv not fund

Open jcl-jcl opened this issue 1 month ago • 4 comments

Self Checks

  • [x] I have searched for existing issues search for existing issues, including closed ones.
  • [x] I confirm that I am using English to submit this report (Language Policy).
  • [x] Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
  • [x] Please do not modify this template :) and fill in all the required fields.

Describe your problem

Image

jcl-jcl avatar Dec 11 '25 02:12 jcl-jcl

Your Docker build is failing because the file /deps/uv-x86_64-unknown-linux-gnu.tar.gz is missing. This tarball contains the uv tool, which is used for Python dependency management and environment setup in RAGFlow. The build expects this file to be present, and it's supposed to be downloaded by running the download_deps.py script before building the Docker image.

To fix the issue, run:

python3 download_deps.py

in your project directory before starting the Docker build. This will fetch all required dependencies, including the uv tarball, and place them in the build context so the Dockerfile can find them. This step became necessary after a recent update to the build process (source, PR #11814).

If you use China mirrors, add the --china-mirrors flag:

python3 download_deps.py --china-mirrors

After running this script, try building your Docker image again.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other

Chat with Dosu Open in Cursor Join Discord Share on X

dosubot[bot] avatar Dec 11 '25 02:12 dosubot[bot]

python3 download_deps.py

KevinHuSh avatar Dec 11 '25 02:12 KevinHuSh

python3 download_deps.py

I’m building an image in GitLab CI. How should I run python3 download_deps.py?

jcl-jcl avatar Dec 11 '25 04:12 jcl-jcl

I downloaded download_deps, then in the Dockerfile I copied and extracted the bin directory. The image built successfully, but after starting the container it reports missing dependencies torch and transformers. Did I do something wrong?

jcl-jcl avatar Dec 11 '25 06:12 jcl-jcl