2024-10-17 22:44:24 +00:00
|
|
|
FROM ubuntu:24.04
|
2022-05-17 04:22:46 +00:00
|
|
|
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
|
2023-05-16 17:03:38 +00:00
|
|
|
ENV N64_LIBGCCDIR /opt/crashsdk/lib/gcc/mips64-elf/12.2.0
|
2022-05-17 04:22:46 +00:00
|
|
|
ENV PATH /opt/crashsdk/bin:$PATH
|
2023-11-28 09:44:10 +00:00
|
|
|
ENV PATH /root/.local/bin:$PATH
|
2022-05-17 04:22:46 +00:00
|
|
|
ENV ROOT /etc/n64
|
2023-05-16 17:03:38 +00:00
|
|
|
|
2023-12-12 13:56:09 +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
|
2023-12-12 13:56:09 +00:00
|
|
|
RUN apt-get update -y && \
|
2023-05-16 17:03:38 +00:00
|
|
|
dpkg --add-architecture i386 && \
|
2023-12-12 13:56:09 +00:00
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
2023-05-16 17:03:38 +00:00
|
|
|
binutils-mips-n64 \
|
2024-04-14 15:21:47 +00:00
|
|
|
newlib-mips-n64 \
|
2022-05-17 04:22:46 +00:00
|
|
|
gcc-mips-n64 \
|
|
|
|
n64sdk \
|
|
|
|
makemask \
|
|
|
|
root-compatibility-environment \
|
|
|
|
libmpc-dev \
|
2022-05-20 01:26:54 +00:00
|
|
|
sfz2n64 \
|
2022-05-17 04:22:46 +00:00
|
|
|
vtf2png \
|
|
|
|
libxi6 \
|
|
|
|
libxxf86vm-dev \
|
|
|
|
libxfixes3 \
|
|
|
|
libxrender1 \
|
|
|
|
libgl1 \
|
|
|
|
python3 \
|
|
|
|
pip \
|
2023-11-28 08:10:12 +00:00
|
|
|
pipx \
|
2022-05-18 02:45:40 +00:00
|
|
|
imagemagick \
|
|
|
|
libpng-dev \
|
|
|
|
libtiff-dev \
|
|
|
|
libassimp-dev \
|
|
|
|
git \
|
|
|
|
cmake \
|
|
|
|
build-essential \
|
|
|
|
wget \
|
2022-05-22 03:34:33 +00:00
|
|
|
unzip \
|
2022-06-27 00:57:00 +00:00
|
|
|
sox \
|
2023-05-16 17:03:38 +00:00
|
|
|
nodejs \
|
|
|
|
lua5.4 \
|
|
|
|
liblua5.4-dev \
|
|
|
|
liblua5.4-0 \
|
2023-10-20 04:52:58 +00:00
|
|
|
ffmpeg \
|
2023-09-02 14:52:31 +00:00
|
|
|
wget
|
|
|
|
|
2023-09-05 16:17:20 +00:00
|
|
|
RUN mkdir /opt/blender
|
2023-10-25 04:29:44 +00:00
|
|
|
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
|
|
|
|
2023-10-25 04:29:44 +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
|
|
|
|
2023-10-25 04:29:44 +00:00
|
|
|
ENV BLENDER_3_6 /opt/blender/blender-3.6.1-linux-x64/blender
|
2022-05-18 02:45:40 +00:00
|
|
|
|
2023-12-12 13:56:09 +00:00
|
|
|
RUN pipx ensurepath --force
|
2023-11-28 08:10:12 +00:00
|
|
|
RUN pipx install vpk
|
2024-08-28 23:48:50 +00:00
|
|
|
|
|
|
|
# Avoid "dubious ownership" error when running git commands
|
|
|
|
RUN git config --global --add safe.directory "$PWD"
|