shibarium: add bone fork build-from-source assets

- Update heimdall init.sh with heimdall-109 chain_id and mainnet seeds
- Update cometbft.Dockerfile with v1.0.7-bone version
- Add bor.Dockerfile for building shibaone/bor from source at v1.3.9-bone

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
2026-06-19 11:05:34 +00:00
parent efcb1f451a
commit bda550eef6
3 changed files with 44 additions and 3 deletions

38
shibarium/bor.Dockerfile Normal file
View File

@@ -0,0 +1,38 @@
# Shibarium bor execution client Dockerfile
# Build from shibaone/bor source repository.
#
# Build args:
# BOR_REPO - repository URL (default: https://github.com/shibaone/bor)
# BOR_VERSION - version tag (default: v1.3.9-bone)
#
# The shibaone/bor repo has a working Dockerfile that builds via `make bor`.
# ENTRYPOINT is `bor`
#
# This Dockerfile is used for building shibarium bor from source,
# as shibaone does not publish pre-built Docker images to Docker Hub.
ARG BOR_REPO=https://github.com/shibaone/bor
ARG BOR_VERSION=v1.3.9-bone
# Use a Go builder image to clone and build bor from source
FROM golang:1.21-alpine AS builder
RUN apk add --no-cache git make gcc musl-dev
WORKDIR /src
RUN git clone --depth 1 --branch ${BOR_VERSION} ${BOR_REPO} .
RUN make bor
# Final stage: copy the built binary
FROM alpine:3.18
WORKDIR /usr/local/bin
COPY --from=builder /src/build/bor /usr/local/bin/bor
# Create data directory
RUN mkdir -p /root/.bor
WORKDIR /root/.bor
ENTRYPOINT ["bor"]

View File

@@ -10,7 +10,7 @@
# the node before exec'ing heimdalld start.
ARG CL_IMAGE=shibaone/heimdall
ARG CL_VERSION=TODO_VERIFY_VERSION
ARG CL_VERSION=v1.0.7-bone
FROM ${CL_IMAGE}:${CL_VERSION}

View File

@@ -31,10 +31,13 @@ set -e
. /usr/local/bin/cometbft-common.sh
CMT_HOME="${CMT_HOME:-/root/.heimdalld}"
CHAIN_ID="${CHAIN_ID:-shibarium-mainnet}"
CHAIN="${CHAIN:-mainnet}"
CHAIN_ID="${CHAIN_ID:-heimdall-109}"
CHAIN="${CHAIN:-shibarium}"
P2P_PORT="${P2P_PORT:-26656}"
MONIKER="${MONIKER:-d${DOMAIN:-local}}"
# Shibarium heimdall mainnet seeds (verified from shibaone/node-ansible branch shibarium)
# These are the persistent peers that match the bor bootnodes
PERSISTENT_PEERS="${PERSISTENT_PEERS:-96f333f77d5e2f877d3afe4a3643e4f99949ef5c@44.204.200.100:26656,e6676c16d8a9ec98bbbce8d137a3765632720328@18.136.201.99:26656,8c71c016de039e50e48f74683784054f46bd0a1c@3.99.233.157:26656,fb613910f04f0ae0001d93b70552d4d5c358ad78@63.32.53.219:26656,08c3509327941a593eef258f23ab568c10d28905@52.12.214.141:26656}"
ct_log "Starting heimdalld bootstrap for chain ${CHAIN_ID} (home=${CMT_HOME})"