Fix ere-jolt (#72)

This commit is contained in:
Han
2025-07-31 23:15:43 +08:00
committed by GitHub
parent ba4a1b453c
commit e688cbdf8e
3 changed files with 16 additions and 4 deletions

View File

@@ -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 && \

View File

@@ -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

View File

@@ -0,0 +1,5 @@
#![cfg_attr(feature = "guest", no_std)]
#![no_main]
#[allow(unused_imports)]
use guest::*;