mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 20:31:13 +00:00
Add build with docker section to README (#9792)
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
committed by
GitHub
parent
54617ef661
commit
a31ab1fc37
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user