mirror of
https://github.com/eth-act/ere.git
synced 2026-04-03 03:00:17 -04:00
feat: Add ere-zisk with only compile and execute utility. (#27)
* feat: add `ere-zisk` and `compile` functionality * fix: use `FixintEncoding` for `Input::as_bytes` to make it deterministic * feat: implement `zkVM::execute` * fix: make `install_zisk_sdk.sh` work with docker * chore: add comment why use `#[should_panic]` * feat: use command `cargo-zisk ...` for `compile`, `execute`, `prove` and `verify` * ci * fix: invalid proof
This commit is contained in:
@@ -40,13 +40,13 @@ RUN chmod +x /tmp/install_zisk_sdk.sh
|
||||
RUN /tmp/install_zisk_sdk.sh && rm /tmp/install_zisk_sdk.sh # Clean up the script
|
||||
|
||||
# The 'zisk' Rust toolchain is now installed.
|
||||
# cargo-zisk is installed in $HOME/.zisk/bin.
|
||||
# The install_zisk_sdk.sh script adds $HOME/.zisk/bin to PATH for its session.
|
||||
# For the image environment, we need to ensure $HOME/.zisk/bin is persistently in PATH.
|
||||
ENV ZISK_TOOLS_BIN_DIR="${HOME}/.zisk/bin"
|
||||
ENV PATH="${ZISK_TOOLS_BIN_DIR}:${PATH}"
|
||||
# cargo-zisk is installed in /root/.zisk/bin.
|
||||
# The ziskup script adds /root/.zisk/bin to PATH for its session.
|
||||
# For the image environment, we need to ensure /root/.zisk/bin is persistently in PATH.
|
||||
ENV ZISK_BIN_DIR="/root/.zisk/bin"
|
||||
ENV PATH="${PATH}:${ZISK_BIN_DIR}"
|
||||
|
||||
# Verify cargo-zisk is accessible
|
||||
RUN echo "Verifying Zisk installation in Dockerfile ..." && cargo +zisk zisk --version
|
||||
RUN echo "Verifying Zisk installation in Dockerfile ..." && cargo-zisk --version
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
Reference in New Issue
Block a user