portal64-still-alive/Dockerfile

68 lines
1.7 KiB
Docker
Raw Permalink Normal View History

FROM ubuntu:24.04
WORKDIR /usr/src/app
ENV PATH /opt/crashsdk/bin:$PATH
2023-11-28 09:44:10 +00:00
ENV PATH /root/.local/bin:$PATH
ENV ROOT /etc/n64
2023-05-16 17:03:38 +00:00
RUN apt-get update -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
apt-utils 2>/dev/null
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
2023-05-16 17:03:38 +00:00
ca-certificates
RUN echo "deb [trusted=yes] https://lambertjamesd.github.io/apt/ ./" | tee /etc/apt/sources.list.d/lambertjamesd.list && \
echo "deb [trusted=yes] https://crashoveride95.github.io/apt/ ./" | tee /etc/apt/sources.list.d/n64sdk.list
RUN apt-get update -y && \
2023-05-16 17:03:38 +00:00
dpkg --add-architecture i386 && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
2023-05-16 17:03:38 +00:00
binutils-mips-n64 \
build-essential \
cimg-dev \
cmake \
ffmpeg \
gcc-mips-n64 \
git \
imagemagick \
libassimp-dev \
libgl1 \
liblua5.4-0 \
liblua5.4-dev \
libmpc-dev \
libpng-dev \
libtiff-dev \
libxfixes3 \
libxi6 \
libxrender1 \
libxxf86vm-dev \
libyaml-cpp-dev \
lua5.4 \
makemask \
newlib-mips-n64 \
2024-11-17 00:52:30 +00:00
ninja-build \
nodejs \
n64sdk \
pip \
pipx \
python3 \
root-compatibility-environment \
sfz2n64 \
2022-06-27 00:57:00 +00:00
sox \
unzip \
vtf2png \
2023-09-02 14:52:31 +00:00
wget
RUN mkdir /opt/blender
RUN wget -P /opt/blender https://download.blender.org/release/Blender3.6/blender-3.6.1-linux-x64.tar.xz
2023-09-02 14:52:31 +00:00
RUN tar -xf /opt/blender/blender-3.6.1-linux-x64.tar.xz -C /opt/blender
RUN rm /opt/blender/blender-3.6.1-linux-x64.tar.xz
2023-09-02 14:52:31 +00:00
2024-11-17 00:52:30 +00:00
ENV PATH="$PATH:/opt/blender/blender-3.6.1-linux-x64"
RUN pipx ensurepath --force
RUN pipx install vpk
# Avoid "dubious ownership" error when running git commands
2024-11-17 00:52:30 +00:00
RUN git config --global --add safe.directory "$PWD"