Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add build with docker section to README
  • Loading branch information
alvicsam committed Sep 15, 2021
commit 7783f9e5768b8a6b0ef48d57219b8c5a27fc3af7
14 changes: 14 additions & 0 deletions docs/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,20 @@ If you are trying to set up Substrate on Windows, you should do the following:

7. Finally, you need to install `cmake`: https://cmake.org/download/

==== Docker

You can use https://github.com/paritytech/scripts/tree/master/dockerfiles/ci-linux[Parity CI docker image] with all necessary dependencies to build Substrate:

[source, shell]
----
#run it in the folder with the Substrate source code
docker run --rm -it -w /shellhere/substrate \
-v $(pwd):/shellhere/substrate \
paritytech/ci-linux:production <cargo commands>
----

You can find necessary cargo commands in <<shared-steps,shared steps>>

==== Shared Steps

Then, grab the Substrate source code:
Expand Down