Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[23.0 backport] builder: pass host-gateway IP as worker label #45791

Merged
merged 1 commit into from Jun 23, 2023

Conversation

crazy-max
Copy link
Member

Not a clean cherry-pick due to lack of containerd snapshotter support on 23.0.

Signed-off-by: CrazyMax crazy-max@users.noreply.github.com

We missed a case when parsing extra hosts from the dockerfile
frontend so the build fails.

To handle this case we need to set a dedicated worker label
that contains the host gateway IP so clients like Buildx
can just set the proper host:ip when parsing extra hosts
that contain the special string "host-gateway".

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
(cherry picked from commit 21e50b8)
@thaJeztah thaJeztah marked this pull request as ready for review June 22, 2023 20:57
@thaJeztah thaJeztah added this to the 23.0.7 milestone Jun 22, 2023
@thaJeztah
Copy link
Member

thaJeztah commented Jun 22, 2023

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM

@neersighted neersighted merged commit f00569b into moby:23.0 Jun 23, 2023
87 checks passed
@crazy-max crazy-max deleted the 23.0_backport_fix-host-gateway branch June 23, 2023 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants