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

proj-1's docker error #6

Open
crownz-sec opened this issue Sep 4, 2022 · 0 comments
Open

proj-1's docker error #6

crownz-sec opened this issue Sep 4, 2022 · 0 comments

Comments

@crownz-sec
Copy link

I use docker for proj-1. After running docker build -t deet ., I use command ./container cargo build. This will cause the following error:

Updating crates.io index
error: failed to get `addr2line` as a dependency of package `deet v0.1.0 (/deet)`

Caused by:
  failed to load source for dependency `addr2line`

Caused by:
  Unable to update registry `https://github.com/rust-lang/crates.io-index`

Caused by:
  failed to fetch `https://github.com/rust-lang/crates.io-index`

Caused by:
  error reading from the zlib stream; class=Zlib (5)

And I fixed it by install git comman for the docker.

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

1 participant