Sign inSign up

pyguerder/bitbucket-pipelines-php74

By pyguerder

•Updated over 4 years ago

Docker image based on Ubuntu 20.04 with PHP-7.4/Composer/MySQL-5.7/Yarn to test Symfony projects.

Image
0

50K+

pyguerder/bitbucket-pipelines-php74 repository overview

⁠Bitbucket Pipelines PHP 7.4 image

⁠Based on Ubuntu 18.04

⁠Packages installed
  • php7.4-zip, php7.4-xml, php7.4-mbstring, php7.4-curl, php7.4-json, php7.4-imap, php7.4-mysql, php7.4-tokenizer, php7.4-xdebug, php7.4-intl, php7.4-soap, php7.4-pdo, php7.4-cli, php7.4-apcu, php7.4-imagick and php7.4-gd
  • wget, curl, unzip
  • Composer
  • Mysql 8 (or 5.7 if you use pyguerder/bitbucket-pipelines-php74:mysql5)
  • Node + Yarn
⁠Sample bitbucket-pipelines.yml
image: pyguerder/bitbucket-pipelines-php74
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

240.5 MB

Last updated

over 4 years ago

docker pull pyguerder/bitbucket-pipelines-php74