ci: .gitattributes - Ensure eol=lf for shell scripts (#3755)

* ci: `.gitattributes` - Ensure `eol=lf` for shell scripts

- These files should always use LF for line endings during a checkout.
- `Dockerfile` does not like building with HereDoc `RUN` scripts that expect LF.
This commit is contained in:
Brennan Kinney 2024-01-08 09:34:24 +13:00 committed by GitHub
parent 0eb4ac7714
commit 6d666512c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 4 deletions

7
.gitattributes vendored
View file

@ -20,9 +20,8 @@
## BUILD: ## BUILD:
.dockerignore text .dockerignore text
Dockerfile text Dockerfile text eol=lf
Makefile Makefile
VERSION
## EXAMPLE (RUNTIME): ## EXAMPLE (RUNTIME):
*.env text *.env text
@ -75,8 +74,8 @@ target/postsrsd/** text
################################################# #################################################
## BATS ## BATS
*.bash text *.bash text eol=lf
*.bats text *.bats text eol=lf
## CONFIG (test/config/) ## CONFIG (test/config/)
### OpenLDAP image ### OpenLDAP image

View file

@ -14,6 +14,11 @@ All notable changes to this project will be documented in this file. The format
- **Rspamd** ([#3726](https://github.com/docker-mailserver/docker-mailserver/pull/3726)): - **Rspamd** ([#3726](https://github.com/docker-mailserver/docker-mailserver/pull/3726)):
- symbol scores for SPF, DKIM & DMARC were updated to more closely align with [RFC7489](https://www.rfc-editor.org/rfc/rfc7489#page-24); please note though that complete alignment is undesirable, because other symbols might be added as well, which changes the overall score calculation again, see [this issue](https://github.com/docker-mailserver/docker-mailserver/issues/3690#issuecomment-1866871996) - symbol scores for SPF, DKIM & DMARC were updated to more closely align with [RFC7489](https://www.rfc-editor.org/rfc/rfc7489#page-24); please note though that complete alignment is undesirable, because other symbols might be added as well, which changes the overall score calculation again, see [this issue](https://github.com/docker-mailserver/docker-mailserver/issues/3690#issuecomment-1866871996)
### Fixes
- **Internal:**
- `.gitattributes`: Always use LF line endings on checkout for files with shell script content ([#3755](https://github.com/docker-mailserver/docker-mailserver/pull/3755))
## [v13.2.0](https://github.com/docker-mailserver/docker-mailserver/releases/tag/v13.2.0) ## [v13.2.0](https://github.com/docker-mailserver/docker-mailserver/releases/tag/v13.2.0)
### Security ### Security