Skip to content

Draw divider lines between build targets in a Dockerfile#148

Merged
rcjsuen merged 1 commit intomainfrom
build-target-divider-lines
Jun 18, 2025
Merged

Draw divider lines between build targets in a Dockerfile#148
rcjsuen merged 1 commit intomainfrom
build-target-divider-lines

Conversation

@rcjsuen
Copy link
Collaborator

@rcjsuen rcjsuen commented Jun 18, 2025

Problem Description

If a Dockerfile has many stages of varying sizes, it can be difficult to tell from scanning the file where each stage is.

Proposed Solution

We will draw divider lines between every FROM instruction. This will help clearly visualize where a build stage starts and ends.

Fixes #147.

Proof of Work

image

Signed-off-by: Remy Suen <remy.suen@docker.com>
@rcjsuen rcjsuen self-assigned this Jun 18, 2025
@rcjsuen rcjsuen merged commit 6de9f8e into main Jun 18, 2025
12 checks passed
@rcjsuen rcjsuen deleted the build-target-divider-lines branch June 18, 2025 20:13
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.

Add dividers to visually see the different build stages in a Dockerfile

1 participant