Skip to content

Conversation

@cleot
Copy link
Contributor

@cleot cleot commented Oct 28, 2025

No description provided.

@cleot cleot requested a review from Copilot October 28, 2025 12:34
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds Docker support for the electrs-blockstream service by introducing a Dockerfile, version file, and documentation. The implementation creates a containerized version of Blockstream's Electrs backend API for the Esplora block explorer.

  • Adds a multi-stage Dockerfile that builds electrs from source using Rust 1.90.0 and creates a minimal runtime image
  • Sets the initial version to 0.1.0
  • Includes documentation describing the project and alternative image sources

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
docker/electrs-blockstream/VERSION Sets the initial version to 0.1.0
docker/electrs-blockstream/README.md Provides project description and references to related repositories
docker/electrs-blockstream/Dockerfile Multi-stage build configuration for containerizing electrs-blockstream

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

RUN cargo build --locked --release --bin electrs --features "${FEATURES}"

# ---- runtime ----
FROM debian:trixie-slim
Copy link

Copilot AI Oct 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using 'trixie-slim' without a specific version tag can lead to unpredictable builds when Debian releases change. Consider pinning to a specific Debian version (e.g., 'debian:12-slim' for bookworm) to ensure reproducible builds.

Suggested change
FROM debian:trixie-slim
FROM debian:12-slim

Copilot uses AI. Check for mistakes.
@cleot cleot requested review from mtbitcr and zupzup October 28, 2025 12:42
@cleot cleot merged commit 4bdb89f into master Oct 28, 2025
2 checks passed
@cleot cleot deleted the cleot/electrs-blockstream branch October 28, 2025 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants