This is an automated email from the ASF dual-hosted git repository.

jiadongb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/texera.git


The following commit(s) were added to refs/heads/main by this push:
     new f7482d25ef fix(image): exec format error in pylsp Docker container 
(#3811)
f7482d25ef is described below

commit f7482d25ef647d1fbeb2ddf0dd1ce3710b015de0
Author: Jiadong Bai <[email protected]>
AuthorDate: Fri Oct 3 22:39:08 2025 -0700

    fix(image): exec format error in pylsp Docker container (#3811)
---
 deployment/pylsp/Dockerfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/deployment/pylsp/Dockerfile b/deployment/pylsp/Dockerfile
index c2044369c6..f02762b2df 100644
--- a/deployment/pylsp/Dockerfile
+++ b/deployment/pylsp/Dockerfile
@@ -25,6 +25,7 @@ WORKDIR /usr/src/app
 RUN pip install python-lsp-server[all]==1.5.0 python-lsp-server[websockets] 
pylint==2.15.10
 RUN apt update
 RUN apt install -y htop
+RUN apt update && apt install -y --no-install-recommends bash htop
 
 # Copy the bash script into the container
 COPY run_pylsp.sh /usr/src/app/run_pylsp.sh
@@ -33,7 +34,7 @@ COPY run_pylsp.sh /usr/src/app/run_pylsp.sh
 RUN chmod +x /usr/src/app/run_pylsp.sh
 
 # Set the entrypoint to the script
-ENTRYPOINT ["/usr/src/app/run_pylsp.sh"]
+ENTRYPOINT ["/usr/bin/env", "bash", "/usr/src/app/run_pylsp.sh"]
 
 # Run pylsp on container startup
 # ENTRYPOINT ["pylsp", "--ws", "--port", "3000", "--verbose", 
"--check-parent-process"]

Reply via email to