cmake
, version >= 3.16make
gcc
, verified under 9.3.0
To build Simpcon, run the following commands under project root:
cmake .
make simpcon
Simpcon is a single executable program. To use Simpcon, run it as root, provide the path to root image with the environment variable simpcon_fkroot
and manifest the command you wish to execute. For example:
sudo simpcon_fkroot="/home/user/fkroot" ./simpcon /bin/sh
We recommend using Alpine Linux mini root filesystem as your root image.