aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMoroccanMalinois <MoroccanMalinois@protonmail.com>2017-12-11 23:33:08 +0000
committerMoroccanMalinois <MoroccanMalinois@protonmail.com>2017-12-11 23:33:08 +0000
commit37f9c6e6510a6cde583d7bf1530c1d7d87b3c8ab (patch)
treed5309e6bed8780d65524b51fc22c6d0bf35cf31e /README.md
parentMerge pull request #2906 (diff)
downloadmonero-37f9c6e6510a6cde583d7bf1530c1d7d87b3c8ab.tar.xz
Dockerfile: add option to set build parallelism
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4386aacaa..27468dc09 100644
--- a/README.md
+++ b/README.md
@@ -140,7 +140,11 @@ Installing a snap is very quick. Snaps are secure. They are isolated with all of
* Docker
+ # Build using all available cores
docker build -t monero .
+
+ # or build using a specific number of cores (reduce RAM requirement)
+ docker build --build-arg NPROC=1 -t monero .
# either run in foreground
docker run -it -v /monero/chain:/root/.bitmonero -v /monero/wallet:/wallet -p 18080:18080 monero