I have an image which compiles an dedicated OpenTTD server, with some patch pack. To play on this server with a client, I need exactly this version also as non dedicated compile, so I thought to have to images, one dedicated (./configure --enable-dedicated) and one without.
On the client with graphic output I think, it’s not good to start OpenTTD in a container, because of the performance (or is the performance no problem?). Is there a way, to use the container only temporarily to compile OpenTTD and then mount a volume, and move the compiled data to a host directory, so that I only need to move the directory from the host to the client. This is possible with the volumes command and a mount point.
Is this a good way, or should I use OpenTTD client in the docker container?