Skip to content

Conversation

@tonistiigi
Copy link
Member

Some build parameters like directory paths, are never sent to buildkit. But it may still make sense to store them and associate with a unique ref for a build that is used to track other parameters on buildkit side.

@crazy-max

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
@jedevc jedevc added this to the v0.11.0 milestone Apr 17, 2023
Comment on lines +1650 to +1651
LocalPath: lp,
DockerfilePath: dp,
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
LocalPath: lp,
DockerfilePath: dp,
LocalPath: filepath.ToSlash(lp),
DockerfilePath: filepath.ToSlash(dp),

Copy link
Member Author

Choose a reason for hiding this comment

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

We do want this to be the actual path that can be looked up from the system. If we do ToSlash then it might not be possible to get back the original path.

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