Skip to content

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

License

Notifications You must be signed in to change notification settings

pyguerder/bitbucket-pipelines-php74

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bitbucket Pipelines PHP 7.4 image

Based on Ubuntu 20.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-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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published