Public | Automated Build

Last pushed: a year ago
Short Description
Short description is empty for this repo.
Full Description

[Deprecated] Drupal Docker Image for developers

Thanks for your interest but this project is now deprecated. Visit http://github.com/drupal-docker if you're looking for Drupal-Docker integration. Following organization is a direct successor of all repos which are related to Drupal&Docker and created by me. Thanks and good luck!

This image was built on the top of zaporylie/drupal image, but adds some useful tools for developers, like CodeSniffer, xDebug or Blackfire.

Documentation

If you are looking for general documentation, please check zaporylie/docker-drupal

Additional configuration

ENNVIRONMENTAL VARIABLE DEFAULT VALUE COMMENTS
DRUPAL_TEST_CS (not implemented) 0
DRUPAL_TEST_CS_PATH (not implemented) /app/drupal
DEV_MODULE XDEBUG Supported: XDEBUG, BLACKFIRE

Profiling with blackfire or using xdebug

You will get xdebug by default, but if you prefer to use Blackfire for profiling instead, please use DEV_MODULE environmental variable with "BLACKFIRE" value.
Just remember to run blackfire/blackfire container before and link it to your zaporylie/drupal-dev container like in the example below:

docker run -dP --link blackfire:blackfire -e BLACKFIRE_SERVER_ID=put-blackfire-server-id-here -e BLACKFIRE_SERVER_TOKEN=put-blackfire-server-token-here -e DEV_MODULE=BLACKFIRE zaporylie/drupal-dev

What about CodeSniffer?

The easiest way is to enter container (with docker exec -ti <container_id_or_name> /bin/bash), and:

drupalcs /path/to/file/or/module/or/whatever

Available methods:

  • drupalcs - standard checking against Drupal coding standards
  • drupalcs-bp - checking against Drupal best practices
  • drupalcs-fix - automated way to fix issues with coding standards
Docker Pull Command
Owner
zaporylie
Source Repository

Comments (0)