Skip to content

Add dev container config to Horizon#1181

Merged
RembrandtK merged 4 commits into
horizonfrom
horizon-dev-container
Jun 4, 2025
Merged

Add dev container config to Horizon#1181
RembrandtK merged 4 commits into
horizonfrom
horizon-dev-container

Conversation

@RembrandtK
Copy link
Copy Markdown
Contributor

Not urgent but would be convenient to have this on horizon branch.

Based on main dev container config and updated to use pnpm instead of yarn.

@RembrandtK RembrandtK requested a review from Copilot June 4, 2025 13:48
@RembrandtK RembrandtK self-assigned this Jun 4, 2025

This comment was marked as outdated.

RembrandtK and others added 2 commits June 4, 2025 15:05
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@RembrandtK RembrandtK requested a review from Copilot June 4, 2025 14:19

This comment was marked as outdated.

@RembrandtK RembrandtK requested a review from Copilot June 4, 2025 15:33
Copy link
Copy Markdown
Contributor

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 a dev container configuration to the Horizon branch to simplify development setup for Graph Protocol contracts by incorporating updated settings based on the main branch and switching dependency management to pnpm.

  • Introduces new scripts (project-setup.sh, host-setup.sh, setup-git-signing.sh) to configure both the container and host environments.
  • Updates configuration files (docker-compose.yml, devcontainer.json, Dockerfile, README.md, sample-graph.env) to support the new development workflow.

Reviewed Changes

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

Show a summary per file
File Description
.devcontainer/setup-git-signing.sh Script to set up Git SSH signing using forwarded SSH keys
.devcontainer/sample-graph.env Sample environment file outlining Git commit signing and custom binary path settings
.devcontainer/project-setup.sh Script to perform project-specific setup including dependency installation with pnpm
.devcontainer/host-setup.sh Script to initialize host directories for caching and environmental preparation
.devcontainer/docker-compose.yml Defines the dev container service configurations including environment variables and volume mounts
.devcontainer/devcontainer.json Dev container configuration file that uses docker-compose and specifies extensions for VS Code
.devcontainer/README.md Documentation providing an overview and setup instructions for the dev container
.devcontainer/Dockerfile Dockerfile setting up the base image with dependencies, tools, and PNPM configuration

@RembrandtK RembrandtK marked this pull request as ready for review June 4, 2025 17:31
@RembrandtK
Copy link
Copy Markdown
Contributor Author

I'm going to merge this, all files are in .devcontainer dir and should not impact anything else.

@RembrandtK RembrandtK merged commit 79ed5a1 into horizon Jun 4, 2025
4 checks passed
@RembrandtK RembrandtK deleted the horizon-dev-container branch May 8, 2026 18:06
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.

2 participants