Skip to content

Commit

Permalink
Fix Phalcon versions
Browse files Browse the repository at this point in the history
  • Loading branch information
cytopia committed Nov 19, 2022
1 parent 28aabde commit 28b8906
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfiles/mods/Dockerfile-7.2
Original file line number Diff line number Diff line change
Expand Up @@ -534,12 +534,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.1 \
# Custom: Install command
&& cd build && ./install \
# Enabling
Expand Down
4 changes: 2 additions & 2 deletions Dockerfiles/mods/Dockerfile-7.3
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 10 additions & 0 deletions build/ansible/group_vars/all/mods.yml
Original file line number Diff line number Diff line change
Expand Up @@ -946,6 +946,16 @@ extensions_available:
git_url: https://github.com/phalcon/cphalcon
git_ref: v3.4.4
command: cd build && ./install
7.2:
type: git
git_url: https://github.com/phalcon/cphalcon
git_ref: v4.1.1
command: cd build && ./install
7.3:
type: git
git_url: https://github.com/phalcon/cphalcon
git_ref: v4.1.2
command: cd build && ./install
all:
type: git
git_url: https://github.com/phalcon/cphalcon
Expand Down

0 comments on commit 28b8906

Please sign in to comment.