PrestaShop / docker

🐳
https://hub.docker.com/r/prestashop/prestashop/
MIT License
257 stars 176 forks source link

Should Composer be included in some images ? #353

Closed thomasnares closed 3 months ago

thomasnares commented 10 months ago

When i use PrestaShop images for module development, i may sometimes need to execute some composer commands.

Composer not being installed on the images, i have to:

Should we add Composer to images to avoid that?

jokesterfr commented 9 months ago

Hi Thomas, you are right, development purpose aims at using a different kind of image sometime. May you be interested by https://github.com/PrestaShop/prestashop-flashlight for this purpose?

Quetzacoalt91 commented 3 months ago

Hi @thomasnares,

As composer is not needed to prepare PrestaShop in these images, adding it is not planned at this time.

You may do it with a Dockerfile file based on prestashop/prestashop as suggested, or as you're using docker composer: add a composer container that will have the shop files mounted as a volume.