-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
questionlabel for questions asked by userslabel for questions asked by users
Description
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
ornginx -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
Metadata
Metadata
Assignees
Labels
questionlabel for questions asked by userslabel for questions asked by users
Type
Projects
Status
📋 Backlog