mirror of
https://github.com/eth-act/ere.git
synced 2026-02-19 11:54:42 -05:00
Fix ere-jolt (#72)
This commit is contained in:
@@ -1,9 +1,13 @@
|
||||
# TODO: change to 24?
|
||||
ARG UBUNTU_VERSION=22.04
|
||||
ARG UBUNTU_VERSION=24.04
|
||||
FROM ubuntu:${UBUNTU_VERSION}
|
||||
|
||||
# Set DEBIAN_FRONTEND to noninteractive to avoid prompts during package installation
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
# Free uid 1000 for later usage, see https://bugs.launchpad.net/cloud-images/+bug/2005129
|
||||
# for more details.
|
||||
RUN userdel -r ubuntu
|
||||
|
||||
# Set DEBIAN_FRONTEND to noninteractive to avoid prompts during package
|
||||
# installation when building the image.
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# Install common dependencies and build tools
|
||||
RUN apt-get update && \
|
||||
|
||||
@@ -34,6 +34,9 @@ ensure_tool_installed "cargo" "to build and install Rust packages"
|
||||
echo "Installing Jolt CLI from GitHub repository (a16z/jolt)..."
|
||||
cargo +nightly install --git https://github.com/a16z/jolt --force --bins jolt
|
||||
|
||||
# Install Jolt's toolchain
|
||||
jolt install-toolchain
|
||||
|
||||
# Verify Jolt installation
|
||||
echo "Verifying Jolt CLI installation..."
|
||||
if jolt --version; then
|
||||
|
||||
5
tests/jolt/compile/basic/src/main.rs
Normal file
5
tests/jolt/compile/basic/src/main.rs
Normal file
@@ -0,0 +1,5 @@
|
||||
#![cfg_attr(feature = "guest", no_std)]
|
||||
#![no_main]
|
||||
|
||||
#[allow(unused_imports)]
|
||||
use guest::*;
|
||||
Reference in New Issue
Block a user