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

add host instructions to gateway exec for debugging into container #266

Merged
merged 1 commit into from
Aug 3, 2021

Conversation

coryb
Copy link
Contributor

@coryb coryb commented Aug 3, 2021

updates to use PR branch for buildkit with this feature. Will update after PR moby/buildkit#2294 is merged.

@@ -598,6 +599,11 @@ func ExecWithFS(ctx context.Context, cln *client.Client, fs Filesystem, r io.Rea
securityMode = o.SecurityMode
case llbutil.NetworkOption:
netMode = o.NetMode
case llbutil.HostOption:
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's also add the equivalent to ExecWithSolveErr. It looks like ExtraHosts is exposed under Meta in ExecOp.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

nice catch, forgot about that one. Fixed.

@coryb coryb merged commit dfd3882 into openllb:master Aug 3, 2021
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