fxbin opened a new pull request, #39: URL: https://github.com/apache/doris-mcp-server/pull/39
bug #38 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. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
