Skip to content

Commit

Permalink
feat: implement tars symlinks (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
thesayyn committed May 8, 2024
1 parent 40884f6 commit 2419daf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions oci/private/image.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ def _oci_image_impl(ctx):
# reuse given base image
args.add(ctx.file.base.path, format = "--from=%s")
inputs.append(ctx.file.base)
if use_symlinks:
transitive_inputs.append(ctx.file.base)
else:
# create a scratch base image with given os/arch[/variant]
args.add(_platform_str(ctx.attr.os, ctx.attr.architecture, ctx.attr.variant), format = "--scratch=%s")
Expand Down

0 comments on commit 2419daf

Please sign in to comment.