Skip to content

Commit 5558448

Browse files
committed
Update docker-compose.yml
1 parent f7ea4b3 commit 5558448

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ services:
3838
labels:
3939
- 'docker-volume-backup.stop-during-backup=true'
4040
command: >
41-
bash -c "if [ -z \"$(php -m | egrep 'phalcon|psr')\" ]; then chmod +x /srv/build/install && cd /srv/build/ && ./install && echo 'extension=phalcon.so' > ${PHP_INI_DIR_PREFIX}/php/conf.d/phalcon.ini;
41+
bash -c "if [ -z \"$(php -m | grep 'phalcon')\" ] && [ -z \"$(php -m | grep 'psr')\" ]; then chmod +x /srv/build/install && cd /srv/build/ && ./install && echo 'extension=phalcon.so' > ${PHP_INI_DIR_PREFIX}/php/conf.d/phalcon.ini;
4242
rm -fr php-psr > /dev/null 2>&1 && git clone https://github.com/jbboehr/php-psr.git && cd php-psr && /usr/local/bin/phpize && ./configure && make && make test && sudo make install && echo 'extension=psr.so' > ${PHP_INI_DIR_PREFIX}/php/conf.d/psr.ini; fi;
4343
grep -qe 'date.timezone = ${LOCAL_TIMEZONE}' ${PHP_INI_DIR_PREFIX}/php/conf.d/security.ini || echo 'date.timezone = ${LOCAL_TIMEZONE}' >> ${PHP_INI_DIR_PREFIX}/php/conf.d/security.ini; php-fpm"
4444

0 commit comments

Comments
 (0)