From 4672a3c89eb68041eaf5a80e6e1d3008b583e809 Mon Sep 17 00:00:00 2001 From: zontreck Date: Fri, 5 Jul 2024 03:18:10 -0700 Subject: [PATCH] Create initial linux firestorm builder docker image --- FirestormLinux/Dockerfile | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/FirestormLinux/Dockerfile b/FirestormLinux/Dockerfile index e69de29..7313837 100644 --- a/FirestormLinux/Dockerfile +++ b/FirestormLinux/Dockerfile @@ -0,0 +1,26 @@ +FROM ubuntu:jammy + +RUN apt-get update +RUN apt-get full-upgrade -qy +RUN apt-get install libgl1-mesa-dev libglu1-mesa-dev libpulse-dev build-essential python3-pip git libssl-dev libxinerama-dev libxrandr-dev libfontconfig-dev libfreetype6-dev gcc-11 cmake + +RUN pip3 install --upgrade pip +RUN pip install llbase autobuild llsd + +WORKDIR /firestorm +RUN git clone https://github.com/FirestormViewer/3p-fmodstudio +RUN git clone https://github.com/FirestormViewer/fs-build-variables.git +WORKDIR /firestorm/3p-fmodstudio + +RUN autobuild build -A64 --all +RUN autobuild package -A64 + +RUN mv /firestorm/3p-fmodstudio/*.bz2 /firestorm/linux-fmod.tar.bz2 + +WORKDIR /firestorm +RUN echo "#!/bin/bash" >> installables.sh +RUN echo "autobuild installables edit fmodstudio platform=linux hash=$(md5sum linux-fmod.tar.bz2) url=file:///firestorm/linux-fmod.tar.bz2" >> installables.sh + +RUN echo "export AUTOBUILD_VARIABLES_FILE=/firestorm/fs-build-variables/variables" >> env.sh + +WORKDIR /builder \ No newline at end of file