Skip to content

Commit

Permalink
ci: .gitattributes - Ensure eol=lf for shell scripts (#3755)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
polarathene committed Jan 7, 2024
1 parent 0eb4ac7 commit 6d66651
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,8 @@

## BUILD:
.dockerignore text
Dockerfile text
Dockerfile text eol=lf
Makefile
VERSION

## EXAMPLE (RUNTIME):
*.env text
Expand Down Expand Up @@ -75,8 +74,8 @@ target/postsrsd/** text
#################################################

## BATS
*.bash text
*.bats text
*.bash text eol=lf
*.bats text eol=lf

## CONFIG (test/config/)
### OpenLDAP image
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)):
- 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)

### Security
Expand Down

0 comments on commit 6d66651

Please sign in to comment.