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

Unable to build with Docker #1438

Open
zliu-rh opened this issue Jan 22, 2025 · 1 comment
Open

Unable to build with Docker #1438

zliu-rh opened this issue Jan 22, 2025 · 1 comment

Comments

@zliu-rh
Copy link

zliu-rh commented Jan 22, 2025

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?

@ilrudie
Copy link
Contributor

ilrudie commented Jan 23, 2025

Interesting. This works totally fine for me on AMD64 and Linux. What are you using?

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

2 participants