20 lines
378 B
Bash
Executable File
20 lines
378 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
TMP=$(mktemp -d)
|
|
ENGINE=${ENGINE:-podman}
|
|
|
|
export TAGS=latest,beta,7777,1.0.2-rc23
|
|
|
|
# Fetch some binaries
|
|
$ENGINE run --user root --rm -i \
|
|
--pull always \
|
|
-v "$TMP:/export" \
|
|
--entrypoint /bin/bash \
|
|
parity/chain-spec-builder -c \
|
|
'cp "$(which chain-spec-builder)" /export'
|
|
|
|
echo "Checking binaries we got:"
|
|
ls -al $TMP
|
|
|
|
./build-injected.sh $TMP
|