Skip to content

Commit

Permalink
Fix pip in py3_image (bazelbuild#1244)
Browse files Browse the repository at this point in the history
  • Loading branch information
lshamis authored and nlopezgi committed Oct 25, 2019
1 parent 582ea1a commit b97ba72
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python3/image.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,9 @@ def py3_image(name, base = None, deps = [], layers = [], **kwargs):
args = kwargs.get("args"),
data = kwargs.get("data"),
testonly = kwargs.get("testonly"),
# The targets of the symlinks in the symlink layers are relative to the
# workspace directory under the app directory. Thus, create an empty
# workspace directory to ensure the symlinks are valid. See
# https://github.com/bazelbuild/rules_docker/issues/161 for details.
create_empty_workspace_dir = True,
)

0 comments on commit b97ba72

Please sign in to comment.