compile_c

command
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

compile_c demonstrates compiling and running C code in a sandboxed environment.

This example shows how to: - Use FilesystemSnapshotFactory to cache image setup (gcc installation) - Pull an OCI image (alpine with gcc) - Create a sandbox instance from a cached snapshot - Write C source code to the filesystem - Compile the code using gcc - Execute the compiled binary

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL