BuildEnvironments/FirestormLinux/Dockerfile

44 lines
1.3 KiB
Text
Raw Normal View History

FROM ubuntu:jammy
LABEL author="Tara Piccari" maintainer="tarapiccari@gmail.com"
2024-07-08 02:42:23 -07:00
SHELL [ "/bin/bash", "-c" ]
ENV DOCKER 1
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get full-upgrade -qy
2024-07-17 05:33:01 -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 rsync ninja-build
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
COPY ./fmodstudioapi20220linux.tar.gz ./
2024-07-05 03:20:32 -07:00
ENV AUTOBUILD_VARIABLES_FILE /firestorm/fs-build-variables/variables
2024-07-08 02:59:59 -07:00
RUN autobuild build -A32 || true
RUN autobuild build -A64
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=linux64 hash=$(md5sum linux-fmod.tar.bz2) url=file:///firestorm/linux-fmod.tar.bz2" >> installables.sh
2024-09-13 01:21:03 -07:00
WORKDIR /
2024-09-13 01:21:03 -07:00
ADD ./entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
2024-07-08 13:17:25 -07:00
2024-07-08 13:13:23 -07:00
RUN curl -sO https://ci.zontreck.com/jnlpJars/agent.jar
2024-09-13 01:21:03 -07:00
ENTRYPOINT [ "/bin/bash", "/entrypoint.sh" ]