Commit 88feaa66 authored by Clement Bois's avatar Clement Bois
Browse files

Merge branch 'fix/php-pecl' into 'master'

fix: pecl install

Closes #22 and #23

See merge request to-be-continuous/php!57
parents 8e270624 87a33123
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -409,8 +409,11 @@ stages:
    if [[ -f ".php_pecl" ]]
    then
      log_info "file \\e[33;1m.php_pecl\\e[0m file found: install project extensions..."
      # shellcheck disable=SC2046
      pecl install $(cat .php_pecl)
      for package in $(cat .php_pecl); do
        pecl install "$package"
        package_no_version="${package%%-*}"
        docker-php-ext-enable "$package_no_version"
      done
    fi

    if [[ -f ".php_ext" ]]