From 325e836afe2c898529cd00b06fdca0260d130137 Mon Sep 17 00:00:00 2001 From: MisterSheeple <27652712+MisterSheeple@users.noreply.github.com> Date: Wed, 15 Nov 2023 08:26:51 +0000 Subject: [PATCH] Update Dockerfile to Ubuntu 22.04 as 18.04 is EOL also: - fix some things that probably broke building before because it was made for the original decomp --- Dockerfile | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/Dockerfile b/Dockerfile index b320001..cd1b113 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,24 +1,16 @@ -FROM ubuntu:18.04 as build +FROM ubuntu:22.04 as build RUN apt-get update && \ apt-get install -y \ - binutils-mips-linux-gnu \ - bsdmainutils \ build-essential \ - libaudiofile-dev \ - python3 \ - wget + git \ + libglew-dev \ + libsdl2-dev \ + python3 -RUN wget \ - https://github.com/n64decomp/qemu-irix/releases/download/v2.11-deb/qemu-irix-2.11.0-2169-g32ab296eef_amd64.deb \ - -O qemu.deb && \ - echo 8170f37cf03a08cc2d7c1c58f10d650ea0d158f711f6916da9364f6d8c85f741 qemu.deb | sha256sum --check && \ - dpkg -i qemu.deb && \ - rm qemu.deb +RUN mkdir /render96ex +WORKDIR /render96ex +ENV PATH="/render96ex/tools:${PATH}" -RUN mkdir /sm64 -WORKDIR /sm64 -ENV PATH="/sm64/tools:${PATH}" - -CMD echo 'usage: docker run --rm --mount type=bind,source="$(pwd)",destination=/sm64 sm64 make VERSION=${VERSION:-us} -j4\n' \ - 'see https://github.com/n64decomp/sm64/blob/master/README.md for advanced usage' +CMD echo 'Usage: docker run --rm -v ${PWD}:/render96ex render96ex make VERSION=${VERSION:-us} -j4\n' \ + 'See https://github.com/Render96/Render96ex/blob/master/README.md for more information'