mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-19 15:31:15 +00:00
Fix cphalcon PHP module install
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 for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | tail -1 | sed 's/^.*tags\///g') \
|
||||
&& git checkout $(git describe --abbrev=0 --tags) \
|
||||
&& 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 for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | tail -1 | sed 's/^.*tags\///g') \
|
||||
&& git checkout $(git describe --abbrev=0 --tags) \
|
||||
&& 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 for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | tail -1 | sed 's/^.*tags\///g') \
|
||||
&& git checkout $(git describe --abbrev=0 --tags) \
|
||||
&& 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 for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | tail -1 | sed 's/^.*tags\///g') \
|
||||
&& git checkout $(git describe --abbrev=0 --tags) \
|
||||
&& 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 for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | tail -1 | sed 's/^.*tags\///g') \
|
||||
&& git checkout $(git describe --abbrev=0 --tags) \
|
||||
&& cd build && ./install \
|
||||
&& docker-php-ext-enable phalcon \
|
||||
&& (rm -rf /usr/local/lib/php/test/phalcon || true) \
|
||||
|
||||
@@ -1242,7 +1242,8 @@ extensions_available:
|
||||
all:
|
||||
type: git
|
||||
git_url: https://github.com/phalcon/cphalcon
|
||||
git_ref: $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | tail -1 | sed 's/^.*tags\///g')
|
||||
git_ref: $(git describe --abbrev=0 --tags)
|
||||
#git_ref: $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | tail -1 | sed 's/^.*tags\///g')
|
||||
command: cd build && ./install
|
||||
phar:
|
||||
# https://github.com/docker-library/php/issues/618
|
||||
|
||||
Reference in New Issue
Block a user