Files
pezkuwi-subxt/bridges/deployments/networks/entrypoints/rialto-chainspec-exporter-entrypoint.sh
T
Branislav Kontur fcc1574aac Merge commit 'd2b7ee2575c5132ef050e2523955382e1fae00ec' as 'bridges'
(git subtree add --prefix=bridges bridges master --squash)
2022-12-01 23:13:25 +01:00

15 lines
515 B
Bash
Executable File

#!/bin/bash
set -xeu
/home/user/rialto-bridge-node build-spec \
--chain local \
--raw \
--disable-default-bootnode \
> /rialto-share/rialto-relaychain-spec-raw.json
# we're using local driver + tmpfs for shared `/rialto-share` volume, which is populated
# by the container running this script. If this script ends, the volume will be detached
# and our chain spec will be lost when it'll go online again. Hence the never-ending
# script which keeps volume online until container is stopped.
tail -f /dev/null