26 lines
818 B
Docker
26 lines
818 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=TODO_VERIFY_VERSION
|
|
|
|
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"]
|