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:
Chevdor
2021-09-03 15:30:12 +02:00
committed by GitHub
parent e3e6855490
commit d260b0e14f
6 changed files with 71 additions and 1 deletions
@@ -19,7 +19,7 @@ WORKDIR /paritytech/cumulus
# not the actual directory. We're stuck just enumerating them.
COPY . .
RUN cargo build --release -p polkadot-collator
RUN cargo build --release --locked -p polkadot-collator
# the collator stage is normally built once, cached, and then ignored, but can
# be specified with the --target build flag. This adds some extra tooling to the