Skip to content

Add experimental_tarball_format to container_image - #1696

Merged
rbe-toolchains-pr-bot merged 2 commits into
bazelbuild:masterfrom
jonjohnsonjr:compressed-layers
Dec 11, 2020
Merged

rbe-toolchains-pr-bot merged 2 commits into
bazelbuild:masterfrom
jonjohnsonjr:compressed-layers

Conversation

@jonjohnsonjr

Copy link
Copy Markdown
Contributor

This adds an attribute that controls the format of the image tarball
produced when building container_image as "${name}.tar".

The current behavior is a legacy, uncompressed format that is compatible
with older versions of docker but suboptimal for most use cases. I have
retained the default behavior by setting the default value to "legacy",
but callers can opt into a newer format by setting this to "compressed".

In the future, we may want to add support for an OCI Image Layout as
well.

See: #1695

This adds an attribute that controls the format of the image tarball
produced when building container_image as "${name}.tar".

The current behavior is a legacy, uncompressed format that is compatible
with older versions of docker but suboptimal for most use cases. I have
retained the default behavior by setting the default value to "legacy",
but callers can opt into a newer format by setting this to "compressed".

In the future, we may want to add support for an OCI Image Layout as
well.
@smukherj1

Copy link
Copy Markdown
Collaborator

/gcbrun

@k8s-ci-robot k8s-ci-robot removed the lgtm label Dec 11, 2020
@k8s-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jonjohnsonjr, smukherj1

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@smukherj1

Copy link
Copy Markdown
Collaborator

/gcbrun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants