5cc255d8df
Build & Deploy to K8s / build-and-deploy (push) Successful in 4m6s
- backend-spring.Dockerfile: CMD에 sh ./gradlew 명시 호출 — 호스트가 Windows일 때 바인드마운트가 빌드 시점 chmod +x를 덮어쓰면서 ./gradlew가 실행 비트 없이 매핑되는 문제 해결. Linux/Mac 환경에도 동일하게 동작. - .gitattributes 신규: gradlew와 *.sh 를 eol=lf 로 고정해 Windows core.autocrlf=true 환경에서 CRLF 변환으로 컨테이너 내 sh 파싱이 깨지는 문제 재발 방지. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
5 lines
175 B
Plaintext
5 lines
175 B
Plaintext
# Force LF for shell scripts and Gradle wrapper so they work in Linux containers
|
|
# regardless of host autocrlf settings.
|
|
*.sh text eol=lf
|
|
gradlew text eol=lf
|