mehrdadbn9 opened a new pull request, #13898:
URL: https://github.com/apache/apisix/pull/13898

   ### Description
   
   A custom image built from `docker commit` of a shell session bakes the shell 
into `CMD`, replacing the official `["docker-start"]`. The entrypoint then 
falls through to `exec "$@"` and the container exits 0 with no logs and no 
APISIX process (apache/apisix#13775).
   
   This PR:
   - emits a stderr warning in `/docker-entrypoint.sh` when the first argument 
is not `docker-start`, so the silent failure is obvious instead of a mysterious 
exit 0.
   - adds an FAQ entry with the correct Dockerfile pattern (switch `USER` 
inside the Dockerfile instead of committing a shell session), plus the 
Kubernetes `command`/`args` override.
   
   ### Checklist
   
   - [x] I have explained my changes
   - [x] Doc/entrypoint change, no behavior change for the normal 
`docker-start` path
   
   Refs apache/apisix#13775


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