Skip to content

Commit 019d5e3

Browse files
author
Dmitry Savonin
committed
fixed makefile
1 parent ee0d1af commit 019d5e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ install-acme:
1111
create-genesis:
1212
docker build -t bas-genesis-config ./genesis
1313
rm -rf ./genesis.json
14-
docker run --rm -v ${PWD}/config.json:/config.json -t bas-genesis-config /config.json > ./genesis.json
14+
CHAIN_ID=1 envsubst < config.json > tmp_config.json
15+
docker run --rm -v ${PWD}/config.json:/tmp_config.json -t bas-genesis-config /config.json > ./genesis.json
16+
rm -f tmp_config.json
1517

1618
.PHONY: run-blockchain
1719
run-blockchain:

0 commit comments

Comments
 (0)