mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-19 23:41:15 +00:00
Fix cphalcon PHP module install
This commit is contained in:
@@ -288,7 +288,7 @@ RUN set -x \
|
|||||||
# ---- Installing PHP Extension: phalcon ----
|
# ---- Installing PHP Extension: phalcon ----
|
||||||
&& git clone https://github.com/phalcon/cphalcon /tmp/phalcon \
|
&& git clone https://github.com/phalcon/cphalcon /tmp/phalcon \
|
||||||
&& cd /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 \
|
&& cd build && ./install \
|
||||||
&& docker-php-ext-enable phalcon \
|
&& docker-php-ext-enable phalcon \
|
||||||
&& (rm -rf /usr/local/lib/php/test/phalcon || true) \
|
&& (rm -rf /usr/local/lib/php/test/phalcon || true) \
|
||||||
|
|||||||
@@ -292,7 +292,7 @@ RUN set -x \
|
|||||||
# ---- Installing PHP Extension: phalcon ----
|
# ---- Installing PHP Extension: phalcon ----
|
||||||
&& git clone https://github.com/phalcon/cphalcon /tmp/phalcon \
|
&& git clone https://github.com/phalcon/cphalcon /tmp/phalcon \
|
||||||
&& cd /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 \
|
&& cd build && ./install \
|
||||||
&& docker-php-ext-enable phalcon \
|
&& docker-php-ext-enable phalcon \
|
||||||
&& (rm -rf /usr/local/lib/php/test/phalcon || true) \
|
&& (rm -rf /usr/local/lib/php/test/phalcon || true) \
|
||||||
|
|||||||
@@ -296,7 +296,7 @@ RUN set -x \
|
|||||||
# ---- Installing PHP Extension: phalcon ----
|
# ---- Installing PHP Extension: phalcon ----
|
||||||
&& git clone https://github.com/phalcon/cphalcon /tmp/phalcon \
|
&& git clone https://github.com/phalcon/cphalcon /tmp/phalcon \
|
||||||
&& cd /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 \
|
&& cd build && ./install \
|
||||||
&& docker-php-ext-enable phalcon \
|
&& docker-php-ext-enable phalcon \
|
||||||
&& (rm -rf /usr/local/lib/php/test/phalcon || true) \
|
&& (rm -rf /usr/local/lib/php/test/phalcon || true) \
|
||||||
|
|||||||
@@ -291,7 +291,7 @@ RUN set -x \
|
|||||||
# ---- Installing PHP Extension: phalcon ----
|
# ---- Installing PHP Extension: phalcon ----
|
||||||
&& git clone https://github.com/phalcon/cphalcon /tmp/phalcon \
|
&& git clone https://github.com/phalcon/cphalcon /tmp/phalcon \
|
||||||
&& cd /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 \
|
&& cd build && ./install \
|
||||||
&& docker-php-ext-enable phalcon \
|
&& docker-php-ext-enable phalcon \
|
||||||
&& (rm -rf /usr/local/lib/php/test/phalcon || true) \
|
&& (rm -rf /usr/local/lib/php/test/phalcon || true) \
|
||||||
|
|||||||
@@ -292,7 +292,7 @@ RUN set -x \
|
|||||||
# ---- Installing PHP Extension: phalcon ----
|
# ---- Installing PHP Extension: phalcon ----
|
||||||
&& git clone https://github.com/phalcon/cphalcon /tmp/phalcon \
|
&& git clone https://github.com/phalcon/cphalcon /tmp/phalcon \
|
||||||
&& cd /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 \
|
&& cd build && ./install \
|
||||||
&& docker-php-ext-enable phalcon \
|
&& docker-php-ext-enable phalcon \
|
||||||
&& (rm -rf /usr/local/lib/php/test/phalcon || true) \
|
&& (rm -rf /usr/local/lib/php/test/phalcon || true) \
|
||||||
|
|||||||
@@ -1242,7 +1242,8 @@ extensions_available:
|
|||||||
all:
|
all:
|
||||||
type: git
|
type: git
|
||||||
git_url: https://github.com/phalcon/cphalcon
|
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
|
command: cd build && ./install
|
||||||
phar:
|
phar:
|
||||||
# https://github.com/docker-library/php/issues/618
|
# https://github.com/docker-library/php/issues/618
|
||||||
|
|||||||
Reference in New Issue
Block a user