mikyll commented on issue #11945: URL: https://github.com/apache/apisix/issues/11945#issuecomment-2631176828
One way to do so is to write a **custom Docker image** which inherits from an official image, and then run `luarocks install <rock_name>`. Example (based on [apache/apisix:3.11.0-debian](https://hub.docker.com/layers/apache/apisix/3.11.0-debian/images/sha256-6607b87587f7714c38a23159962d30baebb01f2f46f115c42740ffb7c0e6722a)): ```docker FROM apache/apisix:3.11.0-debian USER root # Install luarocks (and/or whatever additional tool you need) RUN apt-get update && apt-get install -y luarocks RUN luarocks install <rock_name> EXPOSE 9080 9443 ENTRYPOINT ["/docker-entrypoint.sh"] CMD ["docker-start"] STOPSIGNAL SIGQUIT ``` -- 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]
