alterway / docker-php

Docker PHP
MIT License
99 stars 45 forks source link

ladp/redis/docker-entrypoint.sh not work in php5.6-fpm #1

Open tua opened 7 years ago

tua commented 7 years ago

First of all, thank you very much for the excellent code, it helps me a lot on extensions. There seems 3 issues.

  1. The first problem is about ldap, when build php5.6-fpm, it's See link below,

http://serverfault.com/questions/633394/php-configure-not-finding-ldap-header-libraries

  1. The second problem is redis. redis-2.2.8 is for php5, redis/redis-3.0.0 is for php7.
  2. To make docker-entrypoint.sh works, you may need below code:
COPY ./docker-entrypoint.sh /

WORKDIR /var/www

RUN chmod +x /docker-entrypoint.sh
ENTRYPOINT ["/docker-entrypoint.sh"]
4devnull commented 7 years ago

Bonjour,

Merci pour votre retour et pour l'intérêt que vous y portez,

En ce qui concerne le 3. nous utilisons git pour définir les perms du fichier docker-entrypoint.sh, il n'est donc pas nécessaire de le définir dans le Dockerfile.

Pour les points 1&2, nous allons regarder ceci et reviendrons vers vous

Cdlt,

Nicolas