mirror of
https://github.com/eth-act/ere.git
synced 2026-04-03 03:00:17 -04:00
18 lines
598 B
Docker
18 lines
598 B
Docker
ARG BASE_IMAGE_TAG=ere-base:latest
|
|
|
|
FROM ${BASE_IMAGE_TAG}
|
|
|
|
# Copy and run the Risc0 SDK installer script
|
|
COPY scripts/sdk_installers/install_risc0_sdk.sh /tmp/install_risc0_sdk.sh
|
|
|
|
# Run the script without version arguments to install latest
|
|
RUN chmod +x /tmp/install_risc0_sdk.sh && /tmp/install_risc0_sdk.sh
|
|
|
|
# Verify Risc0 installation (script also does this, but good for Dockerfile sanity)
|
|
RUN echo "Verifying Risc0 installation in Dockerfile (post-script)..." && cargo risczero --version
|
|
|
|
# Get docker for `cargo risczero build`
|
|
RUN curl -fsSL https://get.docker.com | sh
|
|
|
|
CMD ["/bin/bash"]
|