Skip to content

Binary artifacts are created with mtime=2015-10-21 #2007

Open
@AkihiroSuda

Description

@AkihiroSuda

mkdir -p /out && tar czvf "/out/buildkit-$(cat /tmp/.version).$(echo $TARGETPLATFORM | sed 's/\//-/g').tar.gz" --mtime='2015-10-21 00:00Z' --sort=name --transform 's/^./bin/' .

The binary artifacts are created with --mtime='2015-10-21 00:00Z'

Is this intentionally set to a deterministic string for reproducibility? If so, can we rather use 1970-01-01?

(Not all users are aware of that BuildKit didn't exist in 2015, and they may think that they are using very old version of BuildKit from 2015.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions