Official/Minimal docker container for fmodstudiocl (headless)?

Hi

Any recommendations on how to get fmodstudiocl running on a linux container?
Maybe a Dockerfile you’re already using internally?

Thanks

Hi there,

While we don’t have an officially-supported container approach, nor do we run fmodstudiocl inside a Docker container for any internal processes, I have done some tinkering and was able to get it going using the following Dockerfile, which I then successfully used to build the Examples project bundled with FMOD Studio:

FROM --platform=linux/amd64 ubuntu:latest

RUN apt update && \
    apt upgrade -y && \
    apt install -y libxkbcommon0 # Needed due to a packaging bug which will be
                                 # fixed with an upcoming release

ENV QT_QPA_PLATFORM=minimal      # Ensure fmodstudiocl runs in headless mode

ADD fmodstudio20313linux64-installer.deb /installer/fmodstudio.deb

RUN apt install -y /installer/fmodstudio.deb

After building this container with docker build . -t fmodstudiocl, I ran the following from the example project folder:

docker run -it --rm \
    -v "$PWD":/project \
    -w /project \
    fmodstudiocl \
    /opt/fmodstudio/fmodstudiocl -build Examples.fspro

Which built the bank files successfully.

Please note: I have only tested this with the Examples project, and only using FMOD Studio 2.03.13, so I can’t provide any guarantees that it will work with earlier versions. This is also not an officially supported configuration for FMOD Studio, so we may not be able to help if other issues arise.

Please let me know if you have any other questions, and if you are successful at incorporating this into your workflow; I am personally very interested to hear how this goes!

Kind regards,

Morgan