aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/build_defs
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2017-03-17 13:53:17 +0000
committerGravatar Yue Gan <yueg@google.com>2017-03-20 11:34:27 +0000
commitc09b83ce89724b062b14b6393058e3a0979d87d4 (patch)
tree8ababc09ea3a195f26d99926c719261a743e83ba /tools/build_defs
parent02401d94fd11bd73a6e7be47f0e0f574b44e288e (diff)
Reword a comment
-- PiperOrigin-RevId: 150435164 MOS_MIGRATED_REVID=150435164
Diffstat (limited to 'tools/build_defs')
-rw-r--r--tools/build_defs/docker/layers.bzl13
1 files changed, 2 insertions, 11 deletions
diff --git a/tools/build_defs/docker/layers.bzl b/tools/build_defs/docker/layers.bzl
index 3dbfa34cec..e011f025f3 100644
--- a/tools/build_defs/docker/layers.bzl
+++ b/tools/build_defs/docker/layers.bzl
@@ -20,17 +20,8 @@ def get_from_target(unused_ctx, target):
if hasattr(target, "docker_layers"):
return target.docker_layers
else:
- # TODO(mattmoor): This:
- # return [{
- # "layer": target,
- # # TODO(mattmoor): WTF is this...
- # "id": None,
- # # TODO(mattmoor): Inject an action that cracks the tarball and
- # # emits a file with the "name". This is:
- # # with docker_image.FromTarball(...) as img:
- # # print img.top()
- # "name": None,
- # }]
+ # TODO(mattmoor): Use containerregistry.client's FromTarball
+ # to create an entry from a tarball base image.
return []