Skip to content

Conversation

@bobbai00
Copy link
Contributor

@bobbai00 bobbai00 commented Oct 2, 2025

Summary

Changes

  • Explicitly install bash in the container as python:3.10-slim may not include it by default
  • Update ENTRYPOINT to use /usr/bin/env bash for proper script execution

- Explicitly install bash in the container as python:3.10-slim may not include it
- Use /usr/bin/env bash in ENTRYPOINT to ensure proper script execution
- Fixes "exec /usr/src/app/run_pylsp.sh: exec format error"

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@bobbai00 bobbai00 changed the title Fix exec format error in pylsp Docker container fix(dockerfile): exec format error in pylsp Docker container Oct 2, 2025
@bobbai00 bobbai00 added the fix label Oct 2, 2025
@bobbai00 bobbai00 requested review from aglinxinyuan and aicam October 2, 2025 23:16
@bobbai00 bobbai00 self-assigned this Oct 2, 2025
Copy link
Contributor

@aglinxinyuan aglinxinyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Yicong-Huang
Copy link
Contributor

@bobbai00 do you want to change to fix(image) or fix(deploy)?

Copy link
Contributor

@aicam aicam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chenlica
Copy link
Contributor

chenlica commented Oct 3, 2025

@bobbai00 Please check @Yicong-Huang 's comment.

@bobbai00 bobbai00 changed the title fix(dockerfile): exec format error in pylsp Docker container fix(image): exec format error in pylsp Docker container Oct 4, 2025
@bobbai00 bobbai00 enabled auto-merge (squash) October 4, 2025 05:31
@github-actions github-actions bot added the build label Oct 4, 2025
@bobbai00
Copy link
Contributor Author

bobbai00 commented Oct 4, 2025

@bobbai00 Please check @Yicong-Huang 's comment.

Changed

@bobbai00 bobbai00 merged commit f7482d2 into apache:main Oct 4, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix exec format error in pylsp Docker container

5 participants