wangchao732 opened a new issue, #13775:
URL: https://github.com/apache/apisix/issues/13775

   ### Current Behavior
   
   baseimgae: apache/apisix:3.17.0-ubuntu
   
   Since the Apisix user lacks apt permissions, OpenJDK 21 is installed using 
docker --privileged --user root.
   
   ```dockerfile
   FROM xxxapisix:3.17.0-ubuntu-2026080415
   
   RUN apt-get update && apt-get install -y openjdk-21-jdk-headless
   
   COPY target/*.jar  /usr/local/apisix/
   
   RUN chown -R apisix:root  /usr/local/apisix/
   
   USER apisix
   ```
   
   ext-plugin It fails to start regardless of whether it's configured or not.
   
   
   I tried using sleep 3600 to keep the container running. When I manually 
executed /usr/local/openresty/bin/openresty -p /usr/local/apisix -g 'daemon 
off;' inside the container, it worked fine. However, running bash 
/docker-entrypoint.sh produces no output, and ps -aux shows no openresty 
process.
   
   ### Expected Behavior
   
   _No response_
   
   ### Error Logs
   
   null
   
   ### Steps to Reproduce
   
   1、pull image apache/apisix:3.17.0-ubuntu;
   2、docker run --user root apache/apisix:3.17.0-ubuntu && docker commit xxx   
xxx/apisix:3.17.0-ubuntu-2026080415;
   3、build images above Dockefile;
   4、deployment;
   
   ### Environment
   
   - APISIX version: 3.17.0
   - Operating system (run `uname -a`):  Ubuntu 24.04.4 LTS
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): 1.29.2.4


-- 
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]

Reply via email to