Skip to content

Commit 6236fc5

Browse files
committed
use docker again in build script
1 parent b9dd626 commit 6236fc5

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

  • aggregation_mode/proof_aggregator

aggregation_mode/proof_aggregator/build.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ fn main() {
3636
],
3737
// We use Docker to generate a reproducible ELF that will be identical across all platforms
3838
// (https://docs.succinct.xyz/docs/sp1/writing-programs/compiling#production-builds)
39+
docker: true,
3940
..Default::default()
4041
}
4142
});
@@ -44,7 +45,10 @@ fn main() {
4445
// regardless of the machine or local environment, will produce the same ImageID
4546
let docker_options = DockerOptionsBuilder::default().build().unwrap();
4647
// Reference: https://github.com/risc0/risc0/blob/main/risc0/build/src/config.rs#L73-L90
47-
let guest_options = GuestOptionsBuilder::default().build().unwrap();
48+
let guest_options = GuestOptionsBuilder::default()
49+
.use_docker(docker_options)
50+
.build()
51+
.unwrap();
4852

4953
risc0_build::embed_methods_with_options(HashMap::from([(
5054
"risc0_aggregation_program",

0 commit comments

Comments
 (0)