crypto: fetch p2pool from github with debug
This commit is contained in:
parent
b71c145e6e
commit
1bbb88d9a3
@ -36,7 +36,7 @@ spec:
|
||||
command: ["/bin/sh","-c"]
|
||||
args:
|
||||
- |
|
||||
set -euo pipefail
|
||||
set -euxo pipefail
|
||||
apk add --no-cache curl tar openssl >/dev/null
|
||||
test -n "${P2POOL_URL}"
|
||||
echo "Downloading ${P2POOL_URL}"
|
||||
@ -46,6 +46,7 @@ spec:
|
||||
fi
|
||||
mkdir -p /opt/p2pool
|
||||
tar -xzf /tmp/p2pool.tgz -C /opt/p2pool
|
||||
ls -l /opt/p2pool
|
||||
BIN="$(find /opt/p2pool -maxdepth 1 -type f -name 'p2pool*' | head -n1)"
|
||||
test -n "${BIN}"
|
||||
install -m0755 "${BIN}" /opt/p2pool/p2pool
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user