PrestaShop / docker

šŸ³
https://hub.docker.com/r/prestashop/prestashop/
MIT License
257 stars 176 forks source link

Starting point for new contributors, some issues #231

Open kpodemski opened 3 years ago

kpodemski commented 3 years ago

Hey,

as I was checking docs yesterday I wanted to "simulate" a road for new contributors to be able to help with a project using Docker, those are my Issues.

Everything based on documentation

  1. memory_limit is way too low https://github.com/PrestaShop/docker/blob/master/base/config_files/php.ini#L393 - I wasn't able to go through first steps of the Installer scripts because of this
  2. For me, on MacOS Catalina Installer script completely doesn't work because of an issue with modules installation/update. Error:
    Next GuzzleHttp\Exception\RequestException: SSL CA bundle not found: /var/www/html/var/cache/dev/cacert.pem in /var/www/html/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:51

By default PrestaShop generates cacert.pem but we don't have it for Installer script, maybe it's related to next issue...

  1. Just to make sure that it's not CLI installer fault I went to: http://localhost:8001/install-dev/index.php Unfortunately there are two issues:
    • no proper /var/cache chmods
    • no intl extension (but it's not blocking error)

I'm going to improve documentation because we miss many useful informations, how to change installation options, disable assets creation (after refreshing container) etc. but I'm wondering what can we do about this issue with SSL CA bundle? I was trying to manually copy this file, set proper chmods for var/cache but w/o success šŸ¤”

One more question, suggestion, what y'all think about adding "docker_run_before.sh", and "docker_run_after.sh"? (bafter build, before enabling network)

matks commented 2 years ago

Unfortunately we lack time to work on docker images šŸ˜ž I wish we could do more but we cannot afford this level of investment as we already have a ton of work to do on other topics šŸ˜… .

@kpodemski should I close this issue?