The headless version is currently compiled with wxwidget. This is bad because it needs ubuntu in the base image and requires additional compile time. There is no strong requirement to include wxwidget when using it in headless mode.
Implementation
In order to compile without wxwidget for the headless version we need:
a flag for the preprocessor to not include some code.
The entrypoint is currently relying on wxwidget for CLI args parsing. This should be replaced by some other library like the gopt or implemented manually.
An MVP could be developed when providing with a list of required CLI args from all of the CLI options.
Motivation:
The headless version is currently compiled with wxwidget. This is bad because it needs ubuntu in the base image and requires additional compile time. There is no strong requirement to include wxwidget when using it in headless mode.
Implementation
In order to compile without wxwidget for the headless version we need:
An MVP could be developed when providing with a list of required CLI args from all of the CLI options.