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