Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Support uncompressed layers #579

Closed
sparr opened this issue Apr 19, 2023 · 0 comments · Fixed by #603
Closed

[FEATURE] Support uncompressed layers #579

sparr opened this issue Apr 19, 2023 · 0 comments · Fixed by #603
Assignees
Labels
feature New feature or request
Milestone

Comments

@sparr
Copy link
Contributor

sparr commented Apr 19, 2023

Description

soci currently does not support layers that are uncompresed.

Describe the solution you'd like

Support these layers

Describe any alternative solutions/features you've considered

No response

Any additional context or information about the feature request

error encountered with an uncompressed layer:

soci: could not build zTOC for layer sha256:[cut]: layer sha256:[cut] (application/vnd.docker.image.rootfs.diff.tar) must be compressed by gzip, but got "unknown": unsupported layer format

command to build an uncompressed layer:

docker buildx build --output type=image,compression=uncompressed

Current workarounds are to rebuild the image with compressed layers, or to exclude the layer from indexing via soci create --min-layer-size

Implementation here should be done in concert with #519 to avoid duplication of effort on adding support for a new "compressor"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants