As noted in #667 building on Windows or using the WSL having checked out https://github.com/camptocamp/docker-mapserver/ with default Windows line endings results in failed builds with a cryptic error message. Adding .gitattributes and forcing LF fixes this.
As noted in #667 building on Windows or using the WSL having checked out https://github.com/camptocamp/docker-mapserver/ with default Windows line endings results in failed builds with a cryptic error message. Adding
.gitattributes
and forcing LF fixes this.Enforcing Linux line-endings fixes this.
Build command:
Error: