I have the need to be able to install an extension that I made myself for Firefox in Ubuntu, but without a graphic terminal. I need to be able to install the extension without the need for user interaction.
I want to do this because I am working with Docker and I do not have a graphical interface to be able to interact with my Ubuntu-based container. And therefore I cannot use beyond commands to interact with Ubuntu in my Docker container.
I'm trying to use the Firefox command:
firefox -install-global-extension /path/to/extension
But it also requires user interaction so that it can accept the installation of the extension.
I found this post but I do not understand how to make the installation automatic, because loading the .xpi file to the folder with the extensions does not install in Firefox.