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

Fixes directory path computation in docker_build #2529

Closed
wants to merge 1 commit into from

Conversation

vladlosev
Copy link
Contributor

This fixes #1178.

When a docker_build rule has a files input that is at the root of the repository, it contains no / characters, and the current version of _short_path_dirname returns the last character of the name instead of an empty string.

@bazel-io
Copy link
Member

Can one of the admins verify this patch?

@dslomov
Copy link
Contributor

dslomov commented Feb 16, 2017

@damienmg could you take a look?

@bazel-io bazel-io closed this in df23e2f Feb 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docker image with file from genrule has incorrect name
5 participants