Sign inSign up

pyguerder/bitbucket-pipelines-php72

By pyguerder

•Updated over 5 years ago

Image with PHP 7.2, MySQL 5.7 & composer to test projects in Bitbucket Pipelines & CircleCI 2.0.

Image
2

50K+

pyguerder/bitbucket-pipelines-php72 repository overview

⁠Bitbucket Pipelines PHP 7.2 image

⁠Based on Ubuntu 18.04

⁠Packages installed
  • php7.2-zip, php7.2-xml, php7.2-mbstring, php7.2-curl, php7.2-json, php7.2-imap, php7.2-mysql, php7.2-tokenizer, php7.2-xdebug, php7.2-intl, php7.2-soap, php7.2-pdo, php7.2-cli, php7.2-gd and php7.2-gmp
  • wget, curl, unzip
  • Composer 2
  • Mysql 5.7
  • NPM
  • Node + Yarn
⁠Sample bitbucket-pipelines.yml
image: pyguerder/bitbucket-pipelines-php72
pipelines:
  default:
    - step:
        script:
          - service mysql start
          - mysql -h localhost -u root -proot -e "CREATE DATABASE test;"
          - composer install --no-interaction --no-progress --prefer-dist
          - ./vendor/phpunit/phpunit/phpunit -v --coverage-text --colors=never --stderr

Tag summary

Content type

Image

Digest

Size

253.2 MB

Last updated

about 7 years ago

docker pull pyguerder/bitbucket-pipelines-php72