monerod deployment fix
This commit is contained in:
parent
9b769a9dbb
commit
9a4abefd9b
@ -21,11 +21,10 @@ spec:
|
||||
command: ["/bin/sh","-c"]
|
||||
args:
|
||||
- |
|
||||
set -euxo pipefail
|
||||
set -eux
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends ca-certificates curl bzip2
|
||||
update-ca-certificates
|
||||
|
||||
ARCH="$(uname -m)"
|
||||
case "$ARCH" in
|
||||
x86_64) F="monero-linux-x64" ;;
|
||||
@ -33,11 +32,8 @@ spec:
|
||||
armv7l) F="monero-linux-armv7" ;;
|
||||
*) echo "Unsupported arch: $ARCH" >&2; exit 1 ;;
|
||||
esac
|
||||
|
||||
VER="v0.18.4.1"
|
||||
# Prefer GitHub release URL (stable + explicit version):
|
||||
URL="https://github.com/monero-project/monero/releases/download/${VER}/${F}-${VER}.tar.bz2"
|
||||
|
||||
URL="https://downloads.getmonero.org/cli/${F}-${VER}.tar.bz2"
|
||||
echo "Downloading $URL"
|
||||
cd /data
|
||||
curl -fL "$URL" -o monero.tar.bz2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user