| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=22.04 |
| ADD file:b499000226bd9a7c562ffa8eeb86e2d170f2a563310db6c2d79562ab53e5cb6e in / |
| CMD ["/bin/bash"] |
| LABEL author=Tara Piccari maintainer=tarapiccari@gmail.com |
| SHELL [/bin/bash -c] |
| ENV DOCKER=1 |
| ENV DEBIAN_FRONTEND=noninteractive |
| RUN /bin/bash -c apt-get update && apt-get install -y wget apt-utils apt-transport-https gpg && apt-get clean -y # buildkit |
| RUN /bin/bash -c wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public | gpg --dearmor | tee /etc/apt/trusted.gpg.d/adoptium.gpg > /dev/null # buildkit |
| RUN /bin/bash -c echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^UBUNTU_CODENAME/{print$2}' /etc/os-release) main" | tee /etc/apt/sources.list.d/adoptium.list # buildkit |
| RUN /bin/bash -c apt-get update # buildkit |
| RUN /bin/bash -c apt-get full-upgrade -qy # buildkit |
| RUN /bin/bash -c 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 temurin-21-jre curl wget rsync ninja-build && apt-get clean -y # buildkit |
| RUN /bin/bash -c pip3 install --upgrade pip # buildkit |
| RUN /bin/bash -c pip install llbase autobuild llsd # buildkit |
| WORKDIR /firestorm |
| RUN /bin/bash -c git clone https://github.com/FirestormViewer/3p-fmodstudio # buildkit |
| RUN /bin/bash -c git clone https://github.com/FirestormViewer/fs-build-variables.git # buildkit |
| WORKDIR /firestorm/3p-fmodstudio |
| COPY ./fmodstudioapi20307linux.tar.gz ./ # buildkit |
| ENV AUTOBUILD_VARIABLES_FILE=/firestorm/fs-build-variables/variables |
| RUN /bin/bash -c autobuild build -A32 || true # buildkit |
| RUN /bin/bash -c autobuild build -A64 # buildkit |
| RUN /bin/bash -c autobuild package -A64 # buildkit |
| RUN /bin/bash -c mv /firestorm/3p-fmodstudio/*.bz2 /firestorm/linux-fmod.tar.bz2 # buildkit |
| WORKDIR /firestorm |
| RUN /bin/bash -c echo "#!/bin/bash" >> installables.sh # buildkit |
| RUN /bin/bash -c echo "autobuild installables edit fmodstudio platform=linux64 hash=$(md5sum linux-fmod.tar.bz2) url=file:///firestorm/linux-fmod.tar.bz2" >> installables.sh # buildkit |
| WORKDIR / |
| ADD ./entrypoint.sh /entrypoint.sh # buildkit |
| RUN /bin/bash -c chmod +x /entrypoint.sh # buildkit |
| ENTRYPOINT ["/bin/bash" "/entrypoint.sh"] |