Public | Automated Build

Last pushed: a year ago
Short Description
bitbucket pipeline php mysql
Full Description


Bitbucket Pipelines Docker image based on Debian Jessie with PHP/MySQL (and more !)

More help in Bitbucket's Confluence

Docker image at smartapps/bitbucket-pipelines-php-mysql (no CMD as it is overriden by Pipelines)

Packages installed

  • php5-apcu, php5-cli, php5-curl, php5-gd, php5-geoip, php-gettext, php5-imagick, php5-intl, php5-json, php5-mcrypt, php5-memcached, php5-mysqlnd, php5-sqlite, php5-xdebug, php5-xhprof, php5-xmlrpc, memcached, imagemagick, openssh-client, curl, gettext, zip, git, subversion
  • Perl 5.20
  • Python 2.7 & 3.4
  • MySQL 5.5 (user root:root)
  • PHP 5.6
  • Ruby 2.1
  • Node.js 4.x LTS
  • PHPUnit 5.7
  • Latest Composer, Gulp, Webpack, Mocha, Grunt, Codeception, Yarn

Sample bitbucket-pipelines.yml

image: smartapps/bitbucket-pipelines-php-mysql
    - step:
          - service mysql start
          - mysql -h localhost --user=root --password=root -e "CREATE DATABASE test;"
          - composer config -g XXXXXXXX
          - composer install --no-interaction --no-progress --prefer-dist
          - npm install --no-spin
          - gulp

Debian Stretch

A Docker image based on Debian Stretch, PHP 7, MySQL 5.6, Node.js 6.x and Ruby 2.3 is available under stretch branch (and with Docker tag stretch).



  • Adds Yarn, subversion, php5-xmlrpc, php5-json, php5-geoip, php5-apcu, php5-xhprof
  • Replaces wget by curl
  • CI with Travis
  • Adjusts xdebug.max_nesting_level in xdebug.ini
  • Uses slim variant for base Debian Docker image.


  • Adds Ruby, Grunt, Webpack, Mocha, Sqlite, PHPUnit, Memcached, Codeception
  • Adds php5-xdebug, php5-intl, php5-memcached
  • Set root password to root


  • Initial release
  • Perl, Python, PHP, MySQL, Node.js
  • Composer, Gulp
Docker Pull Command