mirror of
https://github.com/eth-act/ere.git
synced 2026-04-03 03:00:17 -04:00
add jolt
This commit is contained in:
20
docker/jolt/Dockerfile
Normal file
20
docker/jolt/Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
ARG BASE_IMAGE_TAG=latest
|
||||
FROM ere-base:${BASE_IMAGE_TAG}
|
||||
|
||||
# The ere-base image provides Rust, Cargo (with a default nightly), and common tools.
|
||||
# We operate as root for SDK installation.
|
||||
|
||||
# Copy the Jolt SDK (CLI) installer script from the workspace context
|
||||
COPY scripts/sdk_installers/install_jolt_sdk.sh /tmp/install_jolt_sdk.sh
|
||||
RUN chmod +x /tmp/install_jolt_sdk.sh
|
||||
|
||||
# Run the Jolt CLI installation script.
|
||||
# This script installs the 'jolt' binary to $CARGO_HOME/bin.
|
||||
RUN /tmp/install_jolt_sdk.sh && rm /tmp/install_jolt_sdk.sh # Clean up the script
|
||||
|
||||
# The jolt CLI is installed in $CARGO_HOME/bin, which is already in PATH from ere-base.
|
||||
|
||||
# Verify jolt CLI is accessible.
|
||||
RUN jolt --version
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
Reference in New Issue
Block a user