mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-25 22:17:58 +00:00
Point documentation links to monorepo (#1741)
This commit is contained in:
+8
-8
@@ -22,10 +22,10 @@ The command below allows building a Linux binary without having to even install
|
||||
|
||||
```bash
|
||||
docker run --rm -it \
|
||||
-w /shellhere/cumulus \
|
||||
-v $(pwd):/shellhere/cumulus \
|
||||
paritytech/ci-linux:production
|
||||
cargo build --release --locked --bin polkadot-parachain
|
||||
-w /polkadot-sdk \
|
||||
-v $(pwd):/polkadot-sdk \
|
||||
paritytech/ci-linux:production \
|
||||
cargo build --release --locked -p polkadot-parachain-bin --bin polkadot-parachain
|
||||
sudo chown -R $(id -u):$(id -g) target/
|
||||
```
|
||||
|
||||
@@ -37,11 +37,11 @@ If you want to reproduce other steps of CI process you can use the following
|
||||
Injecting a binary inside a base image is the quickest option to get a working container image. This only works if you
|
||||
were able to build a Linux binary, either locally, or using a container as described above.
|
||||
|
||||
After building a Linux binary ()`polkadot-parachain`) with cargo or with Parity CI image as documented above, the
|
||||
After building a Linux binary (`polkadot-parachain`) with cargo or with Parity CI image as documented above, the
|
||||
following command allows producing a new container image where the compiled binary is injected:
|
||||
|
||||
```bash
|
||||
./docker/scripts/build-injected-image.sh
|
||||
ARTIFACTS_FOLDER=./target/release /docker/scripts/build-injected.sh
|
||||
```
|
||||
|
||||
## Container build
|
||||
@@ -52,7 +52,7 @@ anyone to get a working container image without requiring any of the Rust toolch
|
||||
```bash
|
||||
docker build \
|
||||
--tag $OWNER/$IMAGE_NAME \
|
||||
--file ./docker/dockerfiles/polkadot-parachain/polkadot-parachain_builder.Containerfile .
|
||||
--file ./docker/dockerfiles/polkadot-parachain/polkadot-parachain_builder.Dockerfile .
|
||||
```
|
||||
|
||||
You may then run your new container:
|
||||
@@ -62,5 +62,5 @@ docker run --rm -it \
|
||||
$OWNER/$IMAGE_NAME \
|
||||
--collator --tmp \
|
||||
--execution wasm \
|
||||
--chain /specs/westmint.json
|
||||
--chain /specs/asset-hub-westend.json
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user