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

[RFE] docker sort content of layer.tar by filename #407

Open
jcpunk opened this issue Aug 25, 2017 · 0 comments
Open

[RFE] docker sort content of layer.tar by filename #407

jcpunk opened this issue Aug 25, 2017 · 0 comments

Comments

@jcpunk
Copy link

jcpunk commented Aug 25, 2017

If the content of layer.tar was sorted by filename, the compressed images created by the docker plugin would be reproducible.

This would permit distributions to build container images and use the sha256sum of the archive to determine if the docker-hub image is out of date.

For heavily git based workflows, a git commit -a would report no changes if the component files are actually the same.

Today, differences in the file order returned by readdir can result in differing archives with identical content.

Example workflow: https://fedoramagazine.org/building-fedora-rawhide-images-imagefactory/

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

No branches or pull requests

1 participant