mirror of
https://github.com/n64decomp/sm64.git
synced 2024-10-19 21:17:37 -04:00
Update Docker instructions in README
specifically: - Replace Mac and Linux commands with a single example command that should work on Windows, Mac, and Linux.
This commit is contained in:
parent
680629ed98
commit
ba50572fef
10
README.md
10
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`.
|
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
|
docker run --rm -v ${PWD}:/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
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Resulting artifacts can be found in the `build` directory.
|
Resulting artifacts can be found in the `build` directory.
|
||||||
|
|
Loading…
Reference in a new issue