Sign inSign up

zaporylie/drupal-dev

By zaporylie

Updated about 10 years ago

Image
1

1.7K

zaporylie/drupal-dev repository overview

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

Build Status

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 VARIABLEDEFAULT VALUECOMMENTS
DRUPAL_TEST_CS (not implemented)0
DRUPAL_TEST_CS_PATH (not implemented)/app/drupal
DEV_MODULEXDEBUGSupported: 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

Tag summary

Content type

Image

Digest

sha256:38fedfc63

Size

252.2 MB

Last updated

about 10 years ago

docker pull zaporylie/drupal-dev