It was always irritating for me that in some documentation certbot was mentioned instead of letsencrypt. Because it's basically the same, I think it's good to change the name to Certbot to reflect the name change two years ago.
I also found out that Certbot was only at version 0.21.0 and git checkout tags didn't work, but I can be wrong since I did so many changes and tests. Anyway, I think it's better to change to the renamed repository.
I changed the version from latest to specific versions like we do in most of the other Dockerfiles.
Finally, I added the feature to change the certificate permissions since I run Nginx with a normal user instead of root and I always had permission issues after certificate renewal.
It was always irritating for me that in some documentation certbot was mentioned instead of letsencrypt. Because it's basically the same, I think it's good to change the name to Certbot to reflect the name change two years ago.
I also found out that Certbot was only at version 0.21.0 and git checkout tags didn't work, but I can be wrong since I did so many changes and tests. Anyway, I think it's better to change to the renamed repository.
I changed the version from latest to specific versions like we do in most of the other Dockerfiles.
Finally, I added the feature to change the certificate permissions since I run Nginx with a normal user instead of root and I always had permission issues after certificate renewal.