Creates an AppImage that contains pktvisord
pktvisor-reader
and pktvisor-cli
. This implementation builds the AppImage in a docker using the assets generated by the docker build. Because not all of the assets are statically linked we use Exodus to capture a minimal set of dependencies for the AppImage
make pktvisor-x86_64.AppImage
Because the build can take a while you may want to build the appimage from the latest docker image on docker hub. To do this you can set the DEV_MODE=
environment to anything. Like so:
DEV_MODE=t make pktvisor-x86_64.AppImage
You may also specify a custom image in dev mode by setting the env file DEV_IMAGE=
to the image you wish to build on. Example:
DEV_IMAGE="netboxlabs/pktvisor:develop" DEV_MODE=t make pktvisor-x86_64.AppImage
To use the AppImage from the command line you specify the binary you want to run as the first argument following the pattern:
./pktvisor-x86_64.AppImage pktvisord|pktvisor-reader|pktvisor-cli <args>