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

   ### Current Behavior
   
   When compiling APISIX using Docker, the install_apisix_runtime logic is 
executed, which calls build-apisix-runtime.sh latest.
   
   However, in the build-apisix-runtime.sh script, when the "latest" parameter 
is added, it triggers the following logic:
   
   ```
   
https://github.com/api7/apisix-build-tools/blob/master/build-apisix-runtime.sh#L67
   
   if ([ $# -gt 0 ] && [ "$1" == "latest" ]) || [ "$runtime_version" == "0.0.0" 
]; then
       debug_args="--with-debug"
   fi
   ```
   
   The addition of the --with-debug flag causes performance degradation in the 
production environment.
   
   ### Expected Behavior
   
   If it's a production version, the --with-debug parameter should be removed.
   
   ### Error Logs
   
   _No response_
   
   ### Steps to Reproduce
   
   latest docker
   
   ### Environment
   
   - APISIX version (run `apisix version`): latest
   - Operating system (run `uname -a`): liunx
   - OpenResty / Nginx version (run `openresty -V` or `nginx -V`): latest
   - etcd version, if relevant (run `curl 
http://127.0.0.1:9090/v1/server_info`): latest
   - APISIX Dashboard version, if relevant: latest
   - Plugin runner version, for issues related to plugin runners: latest
   - LuaRocks version, for installation issues (run `luarocks --version`): 
latest
   


-- 
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: notifications-unsubscr...@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to