Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Add build with docker section to README (#9792)
Browse files Browse the repository at this point in the history
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
  • Loading branch information
alvicsam and shawntabrizi authored Oct 1, 2021
1 parent bf9683e commit a2e7ae3
Showing 1 changed file with 14 additions and 0 deletions.
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

0 comments on commit a2e7ae3

Please sign in to comment.