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

Add script and dockerfile to build an injected docker image for the polkadot-collator binary #591

Merged
merged 4 commits into from
Sep 3, 2021

Conversation

chevdor
Copy link
Contributor

@chevdor chevdor commented Aug 26, 2021

This PR adds a new script and a dockerfile used by this script.

The docker image that is built contains the polkadot-collator image and also copies the chain specs in the image under /specs. That allows users to run the parity chains without having to mount folders from the repo while users of other chains can still mount their specs in the container under /specs.

The image can be called for instance as:

OWNER=parity
IMAGE_NAME=polkadot-collator

docker run --rm -it $OWNER/$IMAGE_NAME \
   --collator --tmp \ 
   --parachain-id 1000 \ 
   --execution wasm \
   --chain /specs/westmint.json

chevdor and others added 4 commits August 26, 2021 15:40
Co-authored-by: Martin Pugh <pugh@s3kr.it>

Co-authored-by: Denis Pisarev <denis.pisarev@parity.io>
Co-authored-by: Denis Pisarev <denis.pisarev@parity.io>
@chevdor chevdor added the A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update). label Aug 26, 2021
@chevdor chevdor marked this pull request as ready for review August 26, 2021 14:52
@chevdor chevdor merged commit bf4024f into paritytech:master Sep 3, 2021
@chevdor chevdor deleted the wk-docker-collator branch September 3, 2021 13:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A2-insubstantial Pull request requires no code review (e.g., a sub-repository hash update).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants