edbizarro / gitlab-ci-pipeline-php

:coffee: Docker images for test PHP applications with Gitlab CI (or any other CI platform!)
https://hub.docker.com/r/edbizarro/gitlab-ci-pipeline-php
MIT License
529 stars 167 forks source link

Add PhalconPHP extension #47

Closed erickskrauch closed 5 years ago

erickskrauch commented 5 years ago

Is there any change to have the PhalconPHP extension in these images? Currently, I'm installing this extension on each build with the next script:

  before_script:
    # Install phalcon, because it's not included in current image
    - sudo sed -i -e 's/v[[:digit:]]\.[[:digit:]]/edge/g' /etc/apk/repositories
    - sudo apk add --no-cache --update php7-phalcon
    - sudo cp /etc/php7/conf.d/phalcon.ini $PHP_INI_DIR/conf.d/
    - sudo cp /usr/lib/php7/modules/phalcon.so "$(php-config --extension-dir)/"

It'll be nice to have it in these images by default. I can help with PR.

edbizarro commented 5 years ago

Hi @erickskrauch

A PR is welcome!