- 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>
39 lines
1005 B
Docker
39 lines
1005 B
Docker
# 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"]
|