drupal-cli:
image: berdyshev/drush
working_dir: "/var/www/html" # (optional) document root for Drupal site
volumes_from:
- app # add data-only container with volumes
links:
- mysql # link the container with mysql to run mysql-related commands
Run drush commands using: $ docker-compose run --rm drupal-cli drush status
Run code sniffer using: $ docker-compose run --rm drupal-cli phpcs --standard=Drupal -- sites/all/modules/custom
Content type
Image
Digest
sha256:0de1d7da8…
Size
156 MB
Last updated
about 11 years ago
docker pull amgrade/drush