Public Repository

Last pushed: 10 months ago
Short Description
PHP5.6, MySQL, Node.js for testing a Laravel application
Full Description

Docker image for testing a Laravel application. Contains:

  • PHP 5.6 with curl, mcrypt, gd, mysql, mbstring, zip, xml, memcached, and sqlite3
  • node.js 6.8.0
  • gulp
  • yarn
  • MySQL 5.7 (login root:test)
  • git
  • wkhtmltopdf
  • memcached (note that it must be started if you want to use it)

Sample bitbucket-pipelines.yml file:

image: jdavidbakr/php56-mysql-unit-node

pipelines:
  default:
    - step:
        script: # Modify the commands below to build your repository.
          - service mysql start
          - service memcached start
          - mysql -h localhost -u root -ptest -e "CREATE DATABASE project;"
          - composer config -g github-oauth.github.com XXXXXXXXXXXXXXXXXX
          - composer install --no-interaction --no-progress --prefer-dist
          - npm install --no-spin
          - gulp
          - php artisan migrate
          - php artisan db:seed
          - vendor/bin/phpunit
Docker Pull Command
Owner
jdavidbakr

Comments (0)