-
Notifications
You must be signed in to change notification settings - Fork 2.7k
-
Can someone help if apisix has support for Alpine or we have to build it manually ?
Beta Was this translation helpful? Give feedback.
All reactions
Hi @Secret629! I'm Dosu and I’m helping the apisix team.
APISIX can run on Alpine Linux, but it's not officially supported and may require manual fixes. For example, you might encounter a balancer error due to differences in OpenResty's Lua balancer implementation; this can be resolved by modifying /usr/local/openresty/lualib/ngx/balancer.lua to handle both string and table arguments for the third parameter in the set_current_peer function (details here).
There is an Alpine-based Docker image for the APISIX Dashboard, but it has multiple critical CVEs. The recommended approach is to use the Ubuntu-based image (e.g., apache/apisix:3.13.0-ubuntu) for better security and support (see this d...
Replies: 1 comment
-
Hi @Secret629! I'm Dosu and I’m helping the apisix team.
APISIX can run on Alpine Linux, but it's not officially supported and may require manual fixes. For example, you might encounter a balancer error due to differences in OpenResty's Lua balancer implementation; this can be resolved by modifying /usr/local/openresty/lualib/ngx/balancer.lua to handle both string and table arguments for the third parameter in the set_current_peer function (details here).
There is an Alpine-based Docker image for the APISIX Dashboard, but it has multiple critical CVEs. The recommended approach is to use the Ubuntu-based image (e.g., apache/apisix:3.13.0-ubuntu) for better security and support (see this discussion). If you choose Alpine, be prepared for manual adjustments and potential security risks.
To reply, just mention @dosu.
How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other Chat with Dosu Join Discord Share on X
Beta Was this translation helpful? Give feedback.