From 72f8ea130ff21d13bcaf1c54d1dc3776148ec8a3 Mon Sep 17 00:00:00 2001 From: MisterSheeple <27652712+MisterSheeple@users.noreply.github.com> Date: Sun, 10 Dec 2023 22:40:34 -0500 Subject: [PATCH] Update Dockerfile to Ubuntu 22.04 as 18.04 is EOL (#731) * Update Dockerfile to Ubuntu 22.04 as 18.04 is EOL * Dockerfile: Use modern syntax for mounting * Add gcc-mips-linux-gnu to dockerfile --- Dockerfile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index f36f10e3..5c6d083b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,17 +1,18 @@ -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 \ + bsdextrautils \ build-essential \ + gcc-mips-linux-gnu \ libcapstone-dev \ pkgconf \ python3 -RUN mkdir /sm64 -WORKDIR /sm64 -ENV PATH="/sm64/tools:${PATH}" +RUN mkdir /hackersm64 +WORKDIR /hackersm64 +ENV PATH="/hackersm64/tools:${PATH}" -CMD echo 'usage: docker run --rm --mount type=bind,source="$(pwd)",destination=/sm64 sm64 make 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}:/hackersm64 hackersm64 make VERSION=us -j4\n' \ + 'See https://github.com/HackerN64/HackerSM64/blob/master/README.md for more information'