getgrav / docker-grav

Official Docker Image for Grav
https://getgrav.org
194 stars 125 forks source link

Docker image with pre-built PHP #58

Open ViliusS opened 2 months ago

ViliusS commented 2 months ago

Currently official Grav Docker image is building PHP and its modules. This takes time. Grav installation itself usually takes couple of seconds, but all the PHP dependencies takes > 90% or more of build time.

Would you be willing to consider an image with already prebuilt platform dependencies? I have a working Grav Docker image built from ubi9 base and could share it.

It also has various parameters which can be used to change Apache/PHP configuration https://catalog.redhat.com/software/containers/ubi9/php-81/62e8e662f6d3d47e19779b01?architecture=amd64&image=6613b6fda253889111a3e07d&container-tabs=overview . Current image doesn't have these abilities.

rhukster commented 2 months ago

Sounds interesting. Sykes would be interested.

ViliusS commented 2 months ago

Tell me what you think https://github.com/getgrav/docker-grav/pull/59 . For now it's fully tested and ~90% complete. If you think it's useful I could fine tune the remaining few points.