mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 22:41:06 +00:00
Add script and dockerfile to build an injected docker image for the polkadot-collator binary (#591)
* remove exec flag on json file * fix dockerignore filter to allow building the injected docker image * Update docker/injected.Dockerfile * Update docker/scripts/build-injected-image.sh Co-authored-by: Martin Pugh <pugh@s3kr.it> Co-authored-by: Denis Pisarev <denis.pisarev@parity.io>
This commit is contained in:
@@ -121,3 +121,17 @@ cargo build --release
|
||||
```
|
||||
### Register the parachain
|
||||

|
||||
|
||||
## Build the docker image
|
||||
|
||||
After building `polkadot-collator` with cargo as documented in [this chapter](#build--launch-rococo-collators), the following will allow producting a new docker image where the compiled binary is injected:
|
||||
|
||||
```
|
||||
./docker/scripts/build-injected-image.sh
|
||||
```
|
||||
|
||||
You may then start a new contaier:
|
||||
|
||||
```
|
||||
docker run --rm -it $OWNER/$IMAGE_NAME --collator --tmp --parachain-id 1000 --execution wasm --chain /specs/westmint.json
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user