skmedia / bitbucket-pipelines-php73

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bitbucket Pipelines PHP 7.3 image

Based on Ubuntu 18.04

Packages installed

  • php7.3-zip, php7.3-xml, php7.3-mbstring, php7.3-curl, php7.3-json, php7.3-imap, php7.3-mysql, php7.3-tokenizer, php7.3-xdebug, php7.3-intl, php7.3-soap, php7.3-pdo, php7.3-cli, php7.3-gd and php7.3-bcmath
  • wget, curl, unzip
  • Composer
  • Mysql 5.7
  • Node + Yarn

Sample bitbucket-pipelines.yml

image: pyguerder/bitbucket-pipelines-php73
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

Build and push

docker build -t skmedia/bitbucket-pipelines-php73 .
docker push skmedia/bitbucket-pipelines-php73

About

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

License:MIT License


Languages

Language:Dockerfile 100.0%