Skip to content

Unable to build with Docker #1438

@zliu-rh

Description

@zliu-rh

Not quite sure if this is a ztunnel issue or the builder image issue, but on a freshly cloned repo:

$ make build
cargo build
error: rustup could not choose a version of cargo to run, because one wasn't specified explicitly, and no default is configured.
help: run 'rustup default stable' to download the latest stable release of Rust and set it as your default toolchain.
make[1]: *** [Makefile.core.mk:15: build] Error 1
make: *** [Makefile:44: build] Error 2

similarly spawning a shell into the builder container:

$ make shell
build-tools:/work# rustc
error: rustup could not choose a version of rustc to run, because one wasn't specified explicitly, and no default is configured.
help: run 'rustup default stable' to download the latest stable release of Rust and set it as your default toolchain.

Not sure how the CI/Prow jobs run but it seems they mount the build-cache volume which might have had some one-time setup?

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