Skip to content

build: add docker-compose.yml and justfile for local image builds#1191

Merged
RembrandtK merged 1 commit intomain-dipsfrom
local-image-build
Apr 14, 2026
Merged

build: add docker-compose.yml and justfile for local image builds#1191
RembrandtK merged 1 commit intomain-dipsfrom
local-image-build

Conversation

@RembrandtK
Copy link
Copy Markdown

Adds a root docker-compose.yml that wraps the existing Dockerfile.indexer-agent and Dockerfile.indexer-cli, and a justfile with a build-image recipe so consumers can produce
ghcr.io/graphprotocol/indexer-{agent,cli}:local (or an override tag) with a single command.

This unblocks the local-network integration branch from needing host-absolute INDEXER_AGENT_SOURCE_ROOT overlays: downstream wrappers can consume the locally-built image by tag instead.

Copy link
Copy Markdown

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

Adds local developer tooling to build the existing Indexer Agent and CLI Docker images consistently from the repo root, enabling downstream integration branches to reference locally-built tags without host-path overlays.

Changes:

  • Introduces a root docker-compose.yml that builds Dockerfile.indexer-agent and Dockerfile.indexer-cli and tags images using a configurable TAG.
  • Adds a justfile recipe (build-image) to build both images with a single command and an optional tag override.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
justfile Adds a just build-image recipe that runs docker compose build with an overridable TAG for consistent local tagging.
docker-compose.yml Defines two buildable services (agent + cli) that tag images as ghcr.io/graphprotocol/indexer-{agent,cli}:${TAG:-local}.

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

@RembrandtK RembrandtK changed the base branch from main to main-dips April 14, 2026 15:01
@RembrandtK RembrandtK requested a review from MoonBoi9001 April 14, 2026 15:20
@github-project-automation github-project-automation bot moved this from 🗃️ Inbox to ✅ Approved in Indexer Apr 14, 2026
Adds a root docker-compose.yml that wraps the existing
Dockerfile.indexer-agent and Dockerfile.indexer-cli, and a justfile with
a build-image recipe so consumers can produce
ghcr.io/graphprotocol/indexer-{agent,cli}:local (or an override tag)
with a single command.

This unblocks the local-network integration branch from needing
host-absolute INDEXER_AGENT_SOURCE_ROOT overlays: downstream wrappers
can consume the locally-built image by tag instead.
@RembrandtK RembrandtK merged commit 02d4dcd into main-dips Apr 14, 2026
3 checks passed
@RembrandtK RembrandtK deleted the local-image-build branch April 14, 2026 15:35
@github-project-automation github-project-automation bot moved this from ✅ Approved to 🚗 Merged in Indexer Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🚗 Merged

Development

Successfully merging this pull request may close these issues.

3 participants