From 9f136efe6d36ce1696b566a4d654629ebc4d3e61 Mon Sep 17 00:00:00 2001 From: James Elliott Date: Mon, 1 May 2023 20:05:43 +1000 Subject: [PATCH] docs: add more info Signed-off-by: James Elliott --- docs/content/en/contributing/development/build-and-test.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/content/en/contributing/development/build-and-test.md b/docs/content/en/contributing/development/build-and-test.md index 7aefe7b1d..9436ebdfe 100644 --- a/docs/content/en/contributing/development/build-and-test.md +++ b/docs/content/en/contributing/development/build-and-test.md @@ -141,6 +141,12 @@ go build -ldflags "-linkmode=external -s -w" -trimpath -buildmode=pie -o autheli #### Reproducible Builds +*__Please Note:__ The reproducibility instructions only apply for v4.38.0 or above. Users interested in reproducibility +of previous versions will have to carefully modify the linker flags to match the values outputted from the +`authelia build-info` command. In particular the Build Date was set as the actual time previously rather than the +commit time. If you have trouble reproducing a build please let us know so we can figure it out, assist you, and +document it.* + Authelia allows production of reproducible builds that were built using our pipeline. The only variables injected into a build are from commit information other than the exceptions listed in this section. This means that we can provide the exact build commands for any given build with very limited input from users. The elements injected into the binary as