Sign inSign up

amgrade/drush

By amgrade

•Updated about 11 years ago

Docker container to run drush commands

Image
0

356

amgrade/drush repository overview

⁠Docker container for drush tool

⁠docker-compose.yml config

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

⁠Usage

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

Tag summary

Content type

Image

Digest

sha256:0de1d7da8…

Size

156 MB

Last updated

about 11 years ago

docker pull amgrade/drush