mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2026-01-10 09:54:43 +00:00
Fix cphalcon php module support
This commit is contained in:
@@ -288,7 +288,7 @@ RUN set -x \
|
||||
# ---- Installing PHP Extension: phalcon ----
|
||||
&& git clone https://github.com/phalcon/cphalcon /tmp/phalcon \
|
||||
&& cd /tmp/phalcon \
|
||||
&& git checkout $(git describe --abbrev=0 --tags) \
|
||||
&& git checkout v3.4.2 \
|
||||
&& cd build && ./install \
|
||||
&& docker-php-ext-enable phalcon \
|
||||
&& (rm -rf /usr/local/lib/php/test/phalcon || true) \
|
||||
|
||||
@@ -292,7 +292,7 @@ RUN set -x \
|
||||
# ---- Installing PHP Extension: phalcon ----
|
||||
&& git clone https://github.com/phalcon/cphalcon /tmp/phalcon \
|
||||
&& cd /tmp/phalcon \
|
||||
&& git checkout $(git describe --abbrev=0 --tags) \
|
||||
&& git checkout v3.4.2 \
|
||||
&& cd build && ./install \
|
||||
&& docker-php-ext-enable phalcon \
|
||||
&& (rm -rf /usr/local/lib/php/test/phalcon || true) \
|
||||
|
||||
@@ -296,7 +296,7 @@ RUN set -x \
|
||||
# ---- Installing PHP Extension: phalcon ----
|
||||
&& git clone https://github.com/phalcon/cphalcon /tmp/phalcon \
|
||||
&& cd /tmp/phalcon \
|
||||
&& git checkout $(git describe --abbrev=0 --tags) \
|
||||
&& git checkout v3.4.2 \
|
||||
&& cd build && ./install \
|
||||
&& docker-php-ext-enable phalcon \
|
||||
&& (rm -rf /usr/local/lib/php/test/phalcon || true) \
|
||||
|
||||
@@ -291,7 +291,7 @@ RUN set -x \
|
||||
# ---- Installing PHP Extension: phalcon ----
|
||||
&& git clone https://github.com/phalcon/cphalcon /tmp/phalcon \
|
||||
&& cd /tmp/phalcon \
|
||||
&& git checkout $(git describe --abbrev=0 --tags) \
|
||||
&& git checkout v3.4.2 \
|
||||
&& cd build && ./install \
|
||||
&& docker-php-ext-enable phalcon \
|
||||
&& (rm -rf /usr/local/lib/php/test/phalcon || true) \
|
||||
|
||||
@@ -292,7 +292,7 @@ RUN set -x \
|
||||
# ---- Installing PHP Extension: phalcon ----
|
||||
&& git clone https://github.com/phalcon/cphalcon /tmp/phalcon \
|
||||
&& cd /tmp/phalcon \
|
||||
&& git checkout $(git describe --abbrev=0 --tags) \
|
||||
&& git checkout $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | sed 's/^.*tags\///g' | grep -E '^v[.0-9]+$' | tail -1) \
|
||||
&& cd build && ./install \
|
||||
&& docker-php-ext-enable phalcon \
|
||||
&& (rm -rf /usr/local/lib/php/test/phalcon || true) \
|
||||
|
||||
@@ -250,6 +250,15 @@ RUN set -x \
|
||||
&& (rm -rf /usr/local/lib/php/test/pgsql || true) \
|
||||
&& (rm -rf /usr/local/lib/php/doc/pgsql || true) \
|
||||
\
|
||||
# ---- Installing PHP Extension: phalcon ----
|
||||
&& git clone https://github.com/phalcon/cphalcon /tmp/phalcon \
|
||||
&& cd /tmp/phalcon \
|
||||
&& git checkout $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | sed 's/^.*tags\///g' | tail -1) \
|
||||
&& cd build && ./install \
|
||||
&& docker-php-ext-enable phalcon \
|
||||
&& (rm -rf /usr/local/lib/php/test/phalcon || true) \
|
||||
&& (rm -rf /usr/local/lib/php/doc/phalcon || true) \
|
||||
\
|
||||
# ---- Installing PHP Extension: pspell ----
|
||||
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell \
|
||||
&& (rm -rf /usr/local/lib/php/test/pspell || true) \
|
||||
@@ -500,6 +509,8 @@ RUN set -x \
|
||||
&& php-fpm -m | grep -oiE '^pdo_sqlsrv$' \
|
||||
&& php -m | grep -oiE '^pgsql$' \
|
||||
&& php-fpm -m | grep -oiE '^pgsql$' \
|
||||
&& php -m | grep -oiE '^phalcon$' \
|
||||
&& php-fpm -m | grep -oiE '^phalcon$' \
|
||||
&& php -m | grep -oiE '^phar$' \
|
||||
&& php-fpm -m | grep -oiE '^phar$' \
|
||||
&& php -m | grep -oiE '^posix$' \
|
||||
|
||||
Reference in New Issue
Block a user