Skip to content

Docker build is failed locally #447

@Enkelmann

Description

@Enkelmann

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions