Skip to content

feat/seperate docker build#106

Draft
pen-pal wants to merge 20 commits intostagingfrom
feat/seperate-docker-build
Draft

feat/seperate docker build#106
pen-pal wants to merge 20 commits intostagingfrom
feat/seperate-docker-build

Conversation

@pen-pal
Copy link
Copy Markdown
Contributor

@pen-pal pen-pal commented Oct 17, 2025

No description provided.

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

This PR separates the Docker build into multiple specialized services, splitting the monolithic "final" target into separate containers for different components.

  • Added individual Docker build targets for each service (prover, egressa, scheduler, aggregator, solana-scheduler, twine-node)
  • Updated CI workflow to build all new Docker targets instead of the single "final" target
  • Removed empty line and restructured Dockerfile to support multi-stage builds for better service isolation

Reviewed Changes

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

File Description
Dockerfile Added 6 new Docker build stages for individual services, each with their own base image and dependencies
.github/workflows/main.yml Updated docker_targets to build all new service-specific containers instead of the monolithic final target

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread Dockerfile Outdated
PATH="/root/.cargo/bin:${PATH}"

RUN apt update && \
apt update && \
Copy link

Copilot AI Oct 17, 2025

Choose a reason for hiding this comment

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

Duplicate 'apt update' command. Remove the redundant second occurrence.

Suggested change
apt update && \

Copilot uses AI. Check for mistakes.
Comment thread Dockerfile Outdated
PATH="/root/.cargo/bin:${PATH}"

RUN apt update && \
apt update && \
Copy link

Copilot AI Oct 17, 2025

Choose a reason for hiding this comment

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

Duplicate 'apt update' command. Remove the redundant second occurrence.

Suggested change
apt update && \

Copilot uses AI. Check for mistakes.
Comment thread Dockerfile Outdated
PATH="/root/.cargo/bin:${PATH}"

RUN apt update && \
apt update && \
Copy link

Copilot AI Oct 17, 2025

Choose a reason for hiding this comment

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

Duplicate 'apt update' command. Remove the redundant second occurrence.

Suggested change
apt update && \

Copilot uses AI. Check for mistakes.
Comment thread Dockerfile Outdated
Comment on lines +280 to +281
RUN apt update && \
apt update && \
Copy link

Copilot AI Oct 17, 2025

Choose a reason for hiding this comment

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

Duplicate 'apt update' command. Remove the redundant second occurrence.

Copilot uses AI. Check for mistakes.
Comment thread Dockerfile Outdated
PATH="/root/.cargo/bin:${PATH}"

RUN apt update && \
apt update && \
Copy link

Copilot AI Oct 17, 2025

Choose a reason for hiding this comment

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

Duplicate 'apt update' command. Remove the redundant second occurrence.

Suggested change
apt update && \

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/main.yml Outdated
Comment on lines +69 to +70
docker_targets: '["prover", "egressa", "scheduler", "twine-node", "aggregator", "solana-scheduler
"]'
Copy link

Copilot AI Oct 17, 2025

Choose a reason for hiding this comment

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

The JSON array is split across lines incorrectly. The closing quote and bracket should be on the same line as the opening elements.

Suggested change
docker_targets: '["prover", "egressa", "scheduler", "twine-node", "aggregator", "solana-scheduler
"]'
docker_targets: '["prover", "egressa", "scheduler", "twine-node", "aggregator", "solana-scheduler"]'

Copilot uses AI. Check for mistakes.
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