openresty / docker-openresty

Docker tooling for OpenResty
https://hub.docker.com/r/openresty/openresty
BSD 2-Clause "Simplified" License
935 stars 525 forks source link

Publish debug images to Docker Hub #213

Open mschfh opened 2 years ago

mschfh commented 2 years ago

Please consider publishing -debug images to Docker Hub.

nginx includes a nginx-debug binary in all images: https://github.com/docker-library/docs/tree/master/nginx#running-nginx-in-debug-mode

yvess commented 1 year ago

I also needed a debug image. Ubuntu main nginx has debug always build in. I also needed a openresty debug image. You can easy build one, but not ideal if you need one sometimes in production.

git clone https://github.com/openresty/docker-openresty.git
cd docker-openresty
docker build --build-arg RESTY_CONFIG_OPTIONS_MORE="--with-debug" -t openresty-debug -f jammy/Dockerfile .