Public Repository

Last pushed: 2 years 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

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