-
Notifications
You must be signed in to change notification settings - Fork 249
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
A docker image for building contracts #151
Comments
I want to highlight that this is a security concern, and here is some relevant context about bit-for-bit reproducible builds: rust-lang/rust#34902 |
/cc @olonho @evgenykuzyakov @bowenwang1996 Reading the issue referenced above, bit-for-bit reproducible builds mostly work, but you still need the same OS and environment, I believe, so Docker image should be a good shortcut on achieving reproducibility. |
https://dev.to/gnunicorn/hunting-down-a-non-determinism-bug-in-our-rust-wasm-build-4fk1 TL;DR: They use Docker to have some guarantee about build reproducibility, but they learned that some source code can trigger non-reproducible builds. |
https://www.reddit.com/r/rust/comments/i4ij47/rustc_1441_is_reproducible_in_debian/ Rustc 1.44.1 is able to produce a reproducible build of itself and the rust team is going to maintain this state things going forward 🥇 |
This seems to be fixed by #195 |
We need a standardized docker image for building Rust contracts so that we can:
The text was updated successfully, but these errors were encountered: