/bitbucket-pipelines-debian-8

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

Primary LanguageDockerfileMIT LicenseMIT

Travis Build Status Microbadger badge

bitbucket-pipelines-debian-8(-php-mysql)

Bitbucket Pipelines Docker image based on Debian 8 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, bzip2, 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 (you can use n to interactively manage your Node.js versions)
  • PHPUnit 5.7
  • Latest Composer, Gulp, Webpack, Mocha, Grunt, Codeception, Yarn, n

Sample bitbucket-pipelines.yml

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

Debian 9 Stretch

A Docker image based on Debian 9 Stretch, PHP 7, MySQL 5.6, Node.js 6.x and Ruby 2.3 is available at smartapps-fr/bitbucket-pipelines-debian-9.

Changelog

0.3

  • 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.

0.2

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

0.1

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