Pass Runtime Flag to torizon/kiosk-mode-browser

This topic is related to this previous question.
I would like to understand how to pass some runtime flags to chromium running in the torizon/kiosk-mode-browser container.
I would pass --enable-features=UseOzonePlatform --ozone-platform=wayland to try enable GPU support.
In particular, seems that since release of chromium M87, GPU support is enabled by default when using Ozone as abstraction layer. But to enable such layer, you should pass the previous runtime flags.

So, there is a way to pass a runtime flags to chromium running in the docker? If not, is it possibile to rebuild the docker to run chromium with those flags? And if yes, with which recipe?

Thanks in advance.

Greetings @vix,

Our container for the kiosk container is open and can be found here: GitHub - toradex/kiosk-mode-browser: Container that can be used to run a browser in kiosk-mode, allowing implementation of web-based UIs.

You can probably just modify our default startup-script to add your runtime flags. Then create a new kiosk container with this.

Best Regards,