Running UE4 headlessly as a build server

Ok, I have an older PC that I am going to install ubuntu server. Is there a way to build a project over the command line? Without a graphics card?

Thanks.

Dear valued Unreal Engine user,

You can build from the commandline by using UAT, please take a look at the “Command Line” section under these docs.

On Linux you use RunUAT.sh as follows:

Engine/Build/BatchFiles/RunUAT.sh BuildCookRun -project=MyProject.uproject -clientconfig=Development

Thank you for your continued support,