2024-07-05 03:18:10 -07:00
|
|
|
FROM ubuntu:jammy
|
|
|
|
|
2024-07-07 23:02:36 -07:00
|
|
|
LABEL author="Tara Piccari" maintainer="tarapiccari@gmail.com"
|
|
|
|
|
|
|
|
ENV DOCKER 1
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
2024-07-05 03:18:10 -07:00
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get full-upgrade -qy
|
2024-07-08 02:05:28 -07:00
|
|
|
RUN apt-get install -y 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 openjdk-17-jre curl wget
|
2024-07-05 03:18:10 -07:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2024-07-08 02:19:40 -07:00
|
|
|
COPY ./fmodstudioapi20220linux.tar.gz ./
|
2024-07-05 03:20:32 -07:00
|
|
|
|
2024-07-08 02:41:55 -07:00
|
|
|
RUN autobuild build --all && autobuild build -A64 --all
|
2024-07-05 03:18:10 -07:00
|
|
|
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
|
|
|
|
|
2024-07-07 22:53:15 -07:00
|
|
|
ADD agent.secret /agent.secret
|
|
|
|
|
|
|
|
RUN curl -sO https://ci.zontreck.com/jnlpJars/agent.jar
|
|
|
|
ENTRYPOINT [ "java", "-jar", "/agent.jar", "-url", "https://ci.zontreck.com", "-secret", "@/agent.secret", "-name", "LinuxFS", "-workDir", "/builder" ]
|