shibaone ships no docker images for the bone fork — only source + .deb config
packages — so both Dockerfiles must clone+build, not FROM a (nonexistent) image.
- bor.Dockerfile: clone shibaone/bor@${BOR_VERSION}, make bor, cp build/bin/bor
(was: alpine + wrong /src/build/bor path). golang:1.22.1 like upstream.
- cometbft.Dockerfile: clone shibaone/heimdall@${CL_VERSION}, make install
(was: FROM shibaone/heimdall:v1.0.7-bone — that tag does not exist on any
registry), then layer the CometBFT init entrypoint.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
26 lines
810 B
Docker
26 lines
810 B
Docker
# Shibarium heimdall node Dockerfile
|
|
# Build from the base heimdall image + copy entrypoint scripts.
|
|
# Uses the standard cometbft-node pattern from vibe-node.
|
|
#
|
|
# Build args:
|
|
# CL_IMAGE - base heimdall image (default: shibaone/heimdall)
|
|
# CL_VERSION - heimdall version tag
|
|
#
|
|
# The entrypoint is init.sh which sources cometbft-common.sh and bootstraps
|
|
# the node before exec'ing heimdalld start.
|
|
|
|
ARG CL_IMAGE=shibaone/heimdall
|
|
ARG CL_VERSION=v1.0.7-bone
|
|
|
|
FROM ${CL_IMAGE}:${CL_VERSION}
|
|
|
|
# Copy the shared CometBFT helpers and chain-specific entrypoint
|
|
COPY ./scripts/cometbft-common.sh /usr/local/bin/cometbft-common.sh
|
|
COPY ./scripts/init.sh /usr/local/bin/init.sh
|
|
|
|
# Make init.sh executable
|
|
RUN chmod +x /usr/local/bin/init.sh
|
|
|
|
# Set entrypoint to our init script
|
|
ENTRYPOINT ["init.sh"]
|