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

Add build with docker section to README #9792

Merged
2 commits merged into from
Oct 1, 2021
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
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