Dont install phar on already available versions

This commit is contained in:
cytopia
2018-12-28 18:54:57 +01:00
parent 452269c1b0
commit cb9826eff5
2 changed files with 1 additions and 8 deletions

View File

@@ -300,11 +300,6 @@ RUN set -x \
&& (rm -rf /usr/local/lib/php/test/phalcon || true) \ && (rm -rf /usr/local/lib/php/test/phalcon || true) \
&& (rm -rf /usr/local/lib/php/doc/phalcon || true) \ && (rm -rf /usr/local/lib/php/doc/phalcon || true) \
\ \
# ---- Installing PHP Extension: phar ----
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) phar \
&& (rm -rf /usr/local/lib/php/test/phar || true) \
&& (rm -rf /usr/local/lib/php/doc/phar || true) \
\
# ---- Installing PHP Extension: pspell ---- # ---- Installing PHP Extension: pspell ----
&& /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell \ && /usr/local/bin/docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) pspell \
&& (rm -rf /usr/local/lib/php/test/pspell || true) \ && (rm -rf /usr/local/lib/php/test/pspell || true) \

View File

@@ -1235,11 +1235,9 @@ extensions_available:
git_ref: $(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_ref: $(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)
command: cd build && ./install command: cd build && ./install
phar: phar:
already_avail: [5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4] already_avail: [5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4]
5.2: 5.2:
type: pecl type: pecl
all:
type: builtin
build_dep: [libssl-dev] build_dep: [libssl-dev]
posix: posix:
already_avail: "{{ php_all_versions }}" already_avail: "{{ php_all_versions }}"