diff --git a/substrate/docs/README.adoc b/substrate/docs/README.adoc index 71052420b1aa9979b7fe907a7a9d2f5b72f34051..05f81442d4ca84b69bda535ffe6cfeffa4673d89 100644 --- a/substrate/docs/README.adoc +++ b/substrate/docs/README.adoc @@ -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: