Skip to content

Add --twice (or --ntimes=N) flag to test reproducibility #2053

@AkihiroSuda

Description

@AkihiroSuda

Description

The --twice (or --ntimes=N) flag will run a build twice, and bail if the digests do not match.
The second run will automatically run with --no-cache to disable layer caches (but keep cached mounts).

The SOURCE_DATE_EPOCH will be set to the time of the command execution if not explicitly set.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions