ingonyama-zk / icicle

A hardware acceleration library for compute intensive cryptography :ice_cube:
https://dev.ingonyama.com/icicle/overview
MIT License
329 stars 97 forks source link

Update examles/rust/msm dockerfile to fix bug #429

Closed cyl19970726 closed 2 months ago

cyl19970726 commented 7 months ago

Describe the changes

There is a conflict between https://github.com/ingonyama-zk/icicle/blob/main/examples/rust/msm/Cargo.toml#L7 and https://github.com/ingonyama-zk/icicle/blob/main/examples/rust/msm/.devcontainer/Dockerfile#L24, it leads to an error happen when executing cargo run --release at docker

jeremyfelder commented 7 months ago

@cyl19970726 Thanks for your contribution! 🚀

What docker command are you running with this?

I think this will still produce an error if the context of the docker build is the examples/rust/msm directory since the COPY command won't be able to access outside the context