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

Docker build is failed locally #447

Open
Enkelmann opened this issue Mar 7, 2024 Discussed in #446 · 1 comment
Open

Docker build is failed locally #447

Enkelmann opened this issue Mar 7, 2024 Discussed in #446 · 1 comment

Comments

@Enkelmann
Copy link
Member

Discussed in #446

Originally posted by yamiyugi123 March 7, 2024
=> ERROR [builder 4/4] RUN cargo build --release 0.5s

[builder 4/4] RUN cargo build --release:
#0 0.147 Updating crates.io index
#0 0.434 error: failed to get anyhow as a dependency of package cwe_checker_lib v0.8.0 (/cwe_checker/src/cwe_checker_lib)
#0 0.434
#0 0.434 Caused by:
#0 0.434 failed to query replaced source registry crates-io
#0 0.434
#0 0.434 Caused by:
#0 0.434 download of config.json failed
#0 0.434
#0 0.434 Caused by:
#0 0.435 failed to download from https://index.crates.io/config.json
#0 0.435
#0 0.435 Caused by:
#0 0.435 [60] SSL peer certificate or SSH remote key was not OK (SSL certificate problem: unable to get local issuer certificate)



4 |
5 | COPY . .
6 | >>> RUN cargo build --release
7 |
8 | FROM ghcr.io/fkie-cad/ghidra_headless_base:10.2.3 as runtime

ERROR: failed to solve: process "/bin/sh -c cargo build --release" did not complete successfully: exit code: 101

@Enkelmann
Copy link
Member Author

@yamiyugi123
If this turns out to be a Docker-specific certificate error, I cannot help you. But it also might be just a temporary problem on the crates.io side.

Have you tried a local installation of the cwe_checker (i.e. without using Docker)? I would suggest a local installation to you anyway, because I am not sure whether the ghcr.io/fkie-cad/ghidra_headless_base:10.2.3 image used in the Docker file supports ARM64.

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