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

llb: make generic runoptions stateoptions #1429

Merged
merged 1 commit into from
Apr 6, 2020

Conversation

tonistiigi
Copy link
Member

@hinshun the suggestion in #1426 (comment) doesn't really work because llb.Dir() already exists for the form Run(llb.Dir(path)). This PR generalizes these functions so they can be now also used in form state.With(llb.Dir(path)). Note that this does not solve the use-case in #1426 (comment) though as the function takes a path and not another stage as an input so need a new syntax for that.

Signed-off-by: Tonis Tiigi tonistiigi@gmail.com

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
Copy link
Collaborator

@hinshun hinshun left a comment

Choose a reason for hiding this comment

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

Noted about #1426. This looks fine to me.

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