diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..172557fcc --- /dev/null +++ b/.gitattributes @@ -0,0 +1,28 @@ +# Auto detect text files and perform LF normalization +* text=auto + +# Force LF line endings for shell scripts (critical for Docker/Linux) +*.sh text eol=lf + +# Force LF for other scripts and config files commonly used in containers +*.bash text eol=lf +*.zsh text eol=lf +Dockerfile text eol=lf +Makefile text eol=lf +*.yml text eol=lf +*.yaml text eol=lf + +# Denote all files that are truly binary and should not be modified +*.png binary +*.jpg binary +*.jpeg binary +*.gif binary +*.ico binary +*.pdf binary +*.zip binary +*.gz binary +*.tar binary +*.woff binary +*.woff2 binary +*.ttf binary +*.eot binary diff --git a/surfsense_backend/scripts/docker/entrypoint.sh b/surfsense_backend/scripts/docker/entrypoint.sh index 969970541..37f5c7e74 100644 --- a/surfsense_backend/scripts/docker/entrypoint.sh +++ b/surfsense_backend/scripts/docker/entrypoint.sh @@ -36,4 +36,3 @@ wait -n # If we get here, one process exited, so exit with its status exit $? -