Skip to content
suit Artifact [2b2a672449]
Login

Artifact [2b2a672449]

Artifact 2b2a672449f72507ddbeb9d18eef34f0399b554cd057aad34a69146365677165:


#!/bin/sh
# Runs tools/filc.sh in an ubuntu:24.04 container, for machines where Fil-C
# does not run natively (macOS). The Fil-C toolchain is kept in the named
# volume suit-filc-cache, so only the first run downloads it.
# usage: tools/filc-docker.sh
set -eu
root=$(cd "$(dirname "$0")/.." && pwd)
exec docker run --rm \
  -v "$root":/src \
  -v suit-filc-cache:/cache \
  -e FILC_HOME=/cache \
  -w /src \
  ubuntu:24.04 \
  sh -c 'apt-get update -qq && apt-get install -y -qq make wget xz-utils ca-certificates python3 perl >/dev/null && rm -rf build/filc && sh tools/filc.sh'