Skip to content

build: set local dirs as frontend attributes#2156

Merged
tonistiigi merged 1 commit into
docker:masterfrom
crazy-max:frontend-attr-localdirs
Jan 3, 2024
Merged

build: set local dirs as frontend attributes#2156
tonistiigi merged 1 commit into
docker:masterfrom
crazy-max:frontend-attr-localdirs

Conversation

@crazy-max
Copy link
Copy Markdown
Member

@crazy-max crazy-max commented Dec 13, 2023

Set local dirs metadata if relative to working VCS directory so dockerfile path is tracked accurately.

@crazy-max crazy-max requested a review from tonistiigi December 14, 2023 09:38
@crazy-max crazy-max marked this pull request as ready for review December 14, 2023 09:38
@crazy-max crazy-max force-pushed the frontend-attr-localdirs branch from 144d1b7 to e3466d9 Compare December 15, 2023 14:33
Copy link
Copy Markdown
Member

@tonistiigi tonistiigi left a comment

Choose a reason for hiding this comment

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

Comment thread build/git.go Outdated
Comment thread build/git.go Outdated
Comment thread build/git.go Outdated
Comment thread build/build.go Outdated
@crazy-max crazy-max force-pushed the frontend-attr-localdirs branch 3 times, most recently from 8ef55c4 to 0f72361 Compare December 19, 2023 08:23
@crazy-max crazy-max requested a review from tonistiigi December 19, 2023 08:23
@crazy-max crazy-max force-pushed the frontend-attr-localdirs branch from 0f72361 to 7b4f991 Compare December 19, 2023 14:01
Comment thread build/git.go Outdated
Comment thread build/git.go Outdated
@crazy-max crazy-max force-pushed the frontend-attr-localdirs branch from 7b4f991 to 93ef603 Compare December 20, 2023 15:16
Set local dirs metadata if relative to VCS directory so
dockerfile path is tracked accurately in case vcs information
is not fulfilled.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max force-pushed the frontend-attr-localdirs branch from 93ef603 to 02bc4e8 Compare December 21, 2023 10:38
@crazy-max crazy-max added this to the v0.13.0 milestone Dec 23, 2023
Copy link
Copy Markdown
Contributor

@cdupuis cdupuis left a comment

Choose a reason for hiding this comment

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

This looks great. Thanks for the PR. It solves a big challenge for Scout.

@tonistiigi tonistiigi merged commit 671347d into docker:master Jan 3, 2024
@crazy-max crazy-max deleted the frontend-attr-localdirs branch January 3, 2024 08:16
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