I've created patched Dockerfiles for EOL PHP versions. The patch is obtained from official source trees.
I've also published the built images from them to GitHub Registry, but of course it's best to inspect any public repo/docker image before using them blindly.
One can inspect a GitHub repo sure but how can one usefully inspect a docker image provided by someone on the internet?