docker / docker/build-push-action
Support reproducible builds using SOURCE_DATE_EPOCH
Open
@dvdksn is already working on this.
Since Nov 10, 2023.
area/buildx
area/docs
- Dominant language
- TypeScript
- Stars
- 5.4k
- Forks
- 735
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 14
Description
Description
Right now, builds are not reproducible. An important step towards that goal would be supporting timestamps as per reproducible-builds.org and the Docker blog.
I propose a new field called source-date-epoch with the following behaviour:
- If unset, builds are performed as before for backwards compatibility
- If set, the env var
SOURCE_DATE_EPOCHis set to the specified value and is passed on to docker
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.