Public Repository

Last pushed: a year ago
Short Description
PHP7, MySQL, Node.js for testing a Laravel application
Full Description

Docker image for testing a Laravel application. Contains:

  • PHP 7.0 with curl, mcrypt, gd, mysql, mbstring, zip, xml, and sqlite3
  • node.js 6.8.0
  • yarn 0.15.1
  • gulp 1.2.2
  • MySQL 5.7 (login root:test)
  • git
  • wkhtmltopdf

Sample bitbucket-pipelines.yml file:

image: jdavidbakr/php7-mysql-unit-node

pipelines:
  default:
    - step:
        script: # Modify the commands below to build your repository.
          - service mysql 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