-
Notifications
You must be signed in to change notification settings - Fork 42
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 Docker Image Failed #16
Comments
Ah... also you can try anothor Rust crate source, check this tutorial. open [source.crates-io]
registry = "https://github.com/rust-lang/crates.io-index"
replace-with = 'ustc'
[source.ustc]
registry = "git://mirrors.ustc.edu.cn/crates.io-index" |
many thanks! |
tuna crates mirror added to Dockerfile in this commit, most of packages would be download from https://mirrors.tuna.tsinghua.edu.cn/. please |
We have released prebuilt .whl, you can directly install megflow with |
detail | 详细描述
Hi there,
Try to build the docker as refer to the guid, but always failed with the same messages as below, any clue to fix it? Thanks!
Step 7/7 : RUN PATH=$HOME/.cargo/bin:${PATH} && cargo build && cd flow-python && python3 setup.py install --user && cd examples && cargo run --example run_with_plugins -- -p logical_test
---> Running in 9e5d7d0b6e8c
Updating crates.io index
Updating git repository
https://github.com/nbdd0121/stackful.git
Updating git repository
https://github.com/Easonzero/rust-ffmpeg
Updating git repository
https://github.com/Easonzero/rust-ffmpeg-sys
Downloading crates ...
... ... [Omitt dozens of lines]
Downloaded clang-sys v0.29.3
Downloaded h2 v0.3.3
warning: spurious network error (2 tries remaining): [28] Timeout was reached (download of
ndarray v0.15.3
failed to transfer more than 10 bytes in 30s)warning: spurious network error (2 tries remaining): [28] Timeout was reached (failed to download any data for
libc v0.2.100
within 30s)error: failed to download from
https://crates.io/api/v1/crates/num-integer/0.1.44/download
Caused by:
[92] Stream error in the HTTP/2 framing layer (HTTP/2 stream 279 was not closed cleanly before end of the underlying stream)
The command '/bin/sh -c PATH=$HOME/.cargo/bin:${PATH} && cargo build && cd flow-python && python3 setup.py install --user && cd examples && cargo run --example run_with_plugins -- -p logical_test' returned a non-zero code: 101
The text was updated successfully, but these errors were encountered: