From ba50572fef177c45d0c19553cb2c5a6ab13dc2cc Mon Sep 17 00:00:00 2001 From: MisterSheeple <27652712+MisterSheeple@users.noreply.github.com> Date: Wed, 8 Nov 2023 07:04:32 +0000 Subject: [PATCH] Update Docker instructions in README specifically: - Replace Mac and Linux commands with a single example command that should work on Windows, Mac, and Linux. --- README.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e708a8b8..dda4e237 100644 --- a/README.md +++ b/README.md @@ -139,15 +139,9 @@ docker build -t sm64 . To build, mount the local filesystem into the Docker container and build the ROM with `docker run sm64 make`. -##### macOS example for (U): +##### Example: ``` -docker run --rm --mount type=bind,source="$(pwd)",destination=/sm64 sm64 make VERSION=us -j4 -``` - -##### Linux example for (U): -For a Linux host, Docker needs to be instructed which user should own the output files: -``` -docker run --rm --mount type=bind,source="$(pwd)",destination=/sm64 --user $UID:$GID sm64 make VERSION=us -j4 +docker run --rm -v ${PWD}:/sm64 sm64 make VERSION=us -j4 ``` Resulting artifacts can be found in the `build` directory.