Bitbucket Pipelines Docker image based on Debian 9.0 Stretch with PHP/MySQL (and more !)
More help in Bitbucket's Confluence
Docker image at smartapps/bitbucket-pipelines-debian-9 (no CMD as it is overriden by Pipelines)
php-apcu,php-bcmath,php-cli,php-curl,php-gd,php-geoip,php-gettext,php-imagick,php-intl,php-json,php-mbstring,php-mcrypt,php-memcached,php-mysql,php-sqlite3,php-xdebug,php-xml,php-xmlrpc,php-zip,memcached,imagemagick,openssh-client,curl,gettext,zip,git,subversion- Perl 5.24
- Python 2.7 & 3.5
- MariaDB 10.1 (mostly compatible with MySQL 5.6) (user
root:root) - PHP 7.0 (default), 7.1 & 7.2 (use interpreters
/usr/bin/php7.0,/usr/bin/php7.1&/usr/bin/php7.2, as described here) - Ruby 2.3
- Node.js 8.x LTS (you can use
nto interactively manage your Node.js versions) - Latest Composer, Gulp, Webpack, Mocha, Grunt, PHPUnit, Codeception, Yarn, n
image: smartapps/bitbucket-pipelines-debian-9
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