docker / docker/build-push-action

Support reproducible builds using SOURCE_DATE_EPOCH

Open
#994 3 comments 2 reactions 1 assignee View on GitHub

@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_EPOCH is set to the specified value and is passed on to docker

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.