multiversx / mx-sdk-rust-contract-builder

Docker image (and wrappers) for reproducible contract builds (Rust).
MIT License
1 stars 2 forks source link

Add target platform in metadata #26

Closed lcswillems closed 1 year ago

lcswillems commented 1 year ago

Knowing the platform on which the contract was built is necessary in order to fully reproduce.

TARGETPLATFORM seems the way to know the value of --platform: https://docs.docker.com/engine/reference/builder/#automatic-platform-args-in-the-global-scope

Note: I have not tested this PR on my computer.