Fix Phalcon versions

This commit is contained in:
cytopia
2022-11-19 10:32:12 +01:00
parent a671401bf2
commit 05d8edb2fe
3 changed files with 14 additions and 4 deletions

View File

@@ -524,12 +524,12 @@ RUN set -eux \
# -------------------- Installing PHP Extension: phalcon --------------------
RUN set -eux \
# Installation: Generic
# Installation: Version specific
# 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) \
&& git checkout v4.1.2 \
# Custom: Install command
&& cd build && ./install \
# Enabling