Public | Automated Build

Last pushed: 7 months ago
Short Description
Bitbucket Pipelines Docker image based on Debian/Jessie with PHP/MySQL (and more !)
Full Description

bitbucket-pipelines-php-mysql

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

More help in Bitbucket's Confluence

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

Packages installed

  • php7.0-cli, php7.0-sqlite, php7.0-mysqlnd, php7.0-mcrypt, php7.0-mbstring, php7.0-zip, php7.0-curl, php7.0-gettext, php7.0-gd, php7.0-json, php7.0-intl, php7.0-xdebug, php7.0-imagick, imagemagick, openssh-client, curl, gettext, zip, mysql-server, mysql-client, git
  • Perl 5.20.2
  • Python 2.7 + 3.4
  • MySQL 5.5.50 (user root:root)
  • PHP 7.0.9
  • Ruby 2.1.5
  • Node.js 4.x LTS
  • Latest Composer, Gulp, Webpack, Mocha, Grunt, Codeception

Sample bitbucket-pipelines.yml

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

Changelog

Latest

  • Adds Ruby, Grunt, Webpack, Mocha, Sqlite
  • Set root password to root

0.1

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

Comments (1)
preflightsiren
4 months ago

Bitbucket pipelines now allows you to run services alongside your pipeline
https://confluence.atlassian.com/display/BITBUCKET/Use+services+and+databases+in+Bitbucket+Pipelines, so no more need to bake in mysql :)