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
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
OWNER=parity
IMAGE_NAME=polkadot-collator
docker build --no-cache --build-arg IMAGE_NAME=$IMAGE_NAME -t $OWNER/$IMAGE_NAME -f ./docker/injected.Dockerfile .
docker images | grep $IMAGE_NAME