tiredofit / docker-nginx-php-fpm

Dockerized web server and interpreter image with many customizable options
MIT License
138 stars 34 forks source link

gnupg php extension #16

Open ThomasEKolb opened 3 years ago

ThomasEKolb commented 3 years ago

Hi would it be possible to add the "php7.4-gnupg" extension in the dependency installation step? It's a feature which is required to use the beta of the freescout encryption module [1].

[1] https://freescout.net/module/mail-signing/

tiredofit commented 3 years ago

This will need to be added to my nginx-php-fpm image. I haven't heard of this extension and it will need to be compiled in. I'll need a few days to get at this.

tiredofit commented 3 years ago

OK! I've added it to the 7.4 branch and also updated the descendent image (freescout). Can you verify that it works for you?

ThomasEKolb commented 3 years ago

Hi,

thank you! I tested it inside the Freescout container and the gpg program & php extension is there and functional. To use the encryption module in Freescout there is some additional adaption to the docker-freescout image required. The gpg keys need to be copied somehow into the docker-container.

I try to create a pull request until the end of the week to get that done (similar as your code for "/assets/modules").

tiredofit commented 3 years ago

OK, so something like /data/gnupg-keys would be useful. I think what I would need to understand is where the files would be stored a "normal/baremetal" solution. I'm doing that trickery with modules and the.env/config file and logs so should be fairly simple.