tsuru / docker-nginx-with-modules

Build nginx docker image image with custom modules
107 stars 39 forks source link

Seems not working with Nginx 1.20 #16

Open Mr-Markus opened 3 years ago

Mr-Markus commented 3 years ago

Hi there,

it seems that it is not working with 1.20. Could you check this please:

I changed

ARG nginx_version=1.20.0

and got this:

+ make modules
make -f objs/Makefile modules
make[1]: Entering directory '/usr/local/src/nginx-1.20.0'
make[1]: Nothing to be done for 'modules'.
make[1]: Leaving directory '/usr/local/src/nginx-1.20.0'
+ cp -v 'objs/*.so' /usr/lib/nginx/modules/
cp: cannot stat 'objs/*.so': No such file or directory

Additional info:

I tried to add module https://github.com/yaoweibin/nginx_tcp_proxy_module with following command:

docker build --build-arg modules=https://github.com/yaoweibin/nginx_tcp_proxy_module.git:v0.4.5 .

Is everything correct or did I anything wrong?

Best Markus