summaryrefslogtreecommitdiff
path: root/INSTALL.md
diff options
context:
space:
mode:
authorred031000 <rubenru09@aol.com>2021-02-20 16:20:30 +0000
committerGitHub <noreply@github.com>2021-02-20 16:20:30 +0000
commitab4e396b1dac3f2a3a3379f9aa3de4de16fd26e9 (patch)
tree54b6c07210c5479df3ad17f3cb88d298fe35ad1d /INSTALL.md
parent41bce72d7d97a7843debfe0807d68423f54142f5 (diff)
parent25b2fe15f401804e99dddf4fd3b15ac49afd9246 (diff)
Merge pull request #318 from dsastr/docker-support
Add support for building with Docker
Diffstat (limited to 'INSTALL.md')
-rw-r--r--INSTALL.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 65dead6e..f6826063 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -80,6 +80,18 @@ To build Pokemon Pearl, run `make pearl`. You do not need to clean your working
If you get an error in saving configuration settings when specifying the license file, you need to add a system environment variable called LM_LICENSE_FILE and point it to the license.dat file. Alternatively, run mwccarm.exe from an Administrator command prompt, PowerShell, or WSL session.
+#### Docker
+
+If you find issues building the ROMs with the above methods, you can try the Docker-specific build script. It will build an Alpine-based Docker image with the system requirements above, and run the `make` scripts (any specified parameter will be passed to the `make` command):
+
+```console
+$ make clean
+$ ./contrib/docker/build_docker.sh # build pokediamond
+$ ./contrib/docker/build_docker.sh pearl # build pokepearl
+```
+
+Note: Docker may not run at a full performance if its underlying Linux kernel is being virtualized (mainly Windows and macOS hosts).
+
#### macOS
To avoid issues run the build as shown below. This avoids issues with missing features (i.e. "introduced in macOS 10.15" errors) and Apple's make not following standards.