Php 7.4 - update Nginx to current stable version
Hey, are there any plans or even any simple solutions to update the PHP image to the current stable nginx version? What is the preferred way to do that?
The image is based on php:7.4-fpm-buster therefore the installed nginx version is always the stable version from the debian repository.
Yeah, I saw that. But there is a nginx repository that holds all the stable versions and I was thinking to include that into these images.
Since the current stable version from the debian repository is 1.14.2 the image is working with quite an outdated version. Would it be suitable to include the Nginx repository into the images or would you like to stick to the stable version from the official debian repository?
:thinking: I don't see any issue why not. I'll take a look
If I can help out just let me know :)
Not sure if it helps, but probably these commands are helpful:
`RUN printf "deb http://nginx.org/packages/debian/ buster nginx\n deb-src http://nginx.org/packages/debian/ buster nginx" >> /etc/apt/sources.list
RUN curl -L https://nginx.org/keys/nginx_signing.key | apt-key add -`
I solved this at https://github.com/webdevops/Dockerfile/issues/423#issuecomment-971105592 if that helps
Thanks, I've created a PR already :) https://github.com/webdevops/Dockerfile/pull/431