Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Add experimental_tarball_format to container_image #1696

Merged

Conversation

jonjohnsonjr
Copy link
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
Collaborator

/gcbrun

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

[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

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
Collaborator

/gcbrun

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants