Update phalcon module

This commit is contained in:
cytopia
2019-11-21 17:22:22 +01:00
parent 1ec8a494e4
commit c360bec703
6 changed files with 26 additions and 9 deletions

View File

@@ -422,7 +422,7 @@ RUN set -eux \
&& git clone https://github.com/phalcon/cphalcon /tmp/phalcon \
&& cd /tmp/phalcon \
# Custom: Branch
&& git checkout v3.4.2 \
&& git checkout v3.4.4 \
# Custom: Install command
&& cd build && ./install \
# Enabling

View File

@@ -451,7 +451,7 @@ RUN set -eux \
&& git clone https://github.com/phalcon/cphalcon /tmp/phalcon \
&& cd /tmp/phalcon \
# Custom: Branch
&& git checkout v3.4.2 \
&& git checkout v3.4.4 \
# Custom: Install command
&& cd build && ./install \
# Enabling

View File

@@ -476,7 +476,7 @@ RUN set -eux \
&& git clone https://github.com/phalcon/cphalcon /tmp/phalcon \
&& cd /tmp/phalcon \
# Custom: Branch
&& git checkout v3.4.2 \
&& git checkout v3.4.4 \
# Custom: Install command
&& cd build && ./install \
# Enabling

View File

@@ -475,7 +475,7 @@ RUN set -eux \
&& git clone https://github.com/phalcon/cphalcon /tmp/phalcon \
&& cd /tmp/phalcon \
# Custom: Branch
&& git checkout v3.4.2 \
&& git checkout v3.4.4 \
# Custom: Install command
&& cd build && ./install \
# Enabling

View File

@@ -389,6 +389,21 @@ RUN set -eux \
&& true
# -------------------- Installing PHP Extension: phalcon --------------------
RUN set -eux \
# Installation: Generic
# Type: GIT extension
&& git clone https://github.com/phalcon/cphalcon /tmp/phalcon \
&& cd /tmp/phalcon \
# Custom: Branch
&& 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) \
# Custom: Install command
&& cd build && ./install \
# Enabling
&& docker-php-ext-enable phalcon \
&& true
# -------------------- Installing PHP Extension: pspell --------------------
RUN set -eux \
# Installation: Generic
@@ -785,6 +800,8 @@ RUN set -eux \
&& php-fpm -m | grep -oiE '^pdo_sqlite$' \
&& 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$' \

View File

@@ -731,7 +731,7 @@ extensions_available:
build_dep: [libpq-dev]
run_dep: [libpq5]
phalcon:
disabled: [5.2, 7.4, 8.0] # TODO: currently disabled for 7.4 as it breaks
disabled: [5.2, 8.0] # TODO: currently disabled for 7.4 as it breaks
5.3:
type: git
git_url: https://github.com/phalcon/cphalcon
@@ -745,22 +745,22 @@ extensions_available:
5.5:
type: git
git_url: https://github.com/phalcon/cphalcon
git_ref: v3.4.2
git_ref: v3.4.4
command: cd build && ./install
5.6:
type: git
git_url: https://github.com/phalcon/cphalcon
git_ref: v3.4.2
git_ref: v3.4.4
command: cd build && ./install
7.0:
type: git
git_url: https://github.com/phalcon/cphalcon
git_ref: v3.4.2
git_ref: v3.4.4
command: cd build && ./install
7.1:
type: git
git_url: https://github.com/phalcon/cphalcon
git_ref: v3.4.2
git_ref: v3.4.4
command: cd build && ./install
all:
type: git