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

Check container reproducibility with diffoci #941

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ericcornelissen
Copy link
Owner

Closes #530

Summary

Create a Makefile target to test the reproducibility of the project container using diffoci. This tool provides a way to test for reproducibility of OCI containers by virtue of being able to display the diff between two versions of a container. It also allows for omitting some uninteresting diffs such as timestamps (with the --semantic flag).

Note

This is an early prototype as the setup currently introduces the Go programming as a dependency and has non-optimal or missing version pinning.

@ericcornelissen ericcornelissen added dependencies Relates to the project's dependencies meta This is about the project itself labels Nov 16, 2024
@github-actions github-actions bot added the ci Relates to continuous integration label Nov 16, 2024
Create a Makefile target to test the reproducibility of the project
container using diffoci[1]. This tool provides a way to test for
reproducibility of OCI containers by virtue of being able to display
the diff between two versions of a container. It also allows for
omitting some uninteresting diffs such as timestamps (with the
`--semantic` flag).

This is an early prototype as the setup currently introduces the Go
programming as a dependency and has non-optimal or missing version
pinning.

--
1. https://github.com/reproducible-containers/diffoci
@ericcornelissen

This comment was marked as outdated.

Build on 7fea392 by using the
`--no-cache` option to prevent the container build from re-using any
build cache in order to realistically create two distinct builds to be
tested for reproducibility.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Relates to continuous integration dependencies Relates to the project's dependencies meta This is about the project itself
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reproducible builds
1 participant