Skip to content

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

Description

@jcpunk

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/

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions