Commit Graph

4 Commits

Author SHA1 Message Date
大痴小乙
ecb5db8137 [bugfix]Fix line ending issues in start_server.sh script for Docker container execution (#39)
Problem:
When running the start_server.sh script in a Docker container, the following errors occurred:
- : not foundserver.sh: 18: (and other lines)
- /app/start_server.sh: 35: Syntax error: "elif" unexpected (expecting "then")

Root cause:
The script file was using Windows-style line endings (CRLF) instead of Unix/Linux-style line endings (LF),
which caused syntax errors when executed in a Linux environment.

Solution:
1. Ensure start_server.sh file uses proper Unix line endings (LF)
2. Add dos2unix command in Dockerfile to convert line ending format of the script file
3. Automatically fix line ending issues during image build to ensure proper script execution in containers

This fixes the issue with starting Doris MCP Server in Linux-based Docker containers.
2025-08-05 17:31:44 +08:00
Akira
b6157c500b fix Dockerfile 2025-06-09 09:21:42 +08:00
FreeOnePlus
464507abf3 0.3.0 Release Version & add License 2025-06-08 19:22:13 +08:00
FreeOnePlus
4c913743c7 0.3.0 Release Version 2025-06-08 18:44:40 +08:00