HUB
Sign inSign up

mparker17/drupalconsole

By mparker17

•Updated about 10 years ago

Use Drupal Console (github.com/hechoendrupal/DrupalConsole) in a Docker container.

Image
1

4.8K

mparker17/drupalconsole repository overview

⁠mparker17/docker-drupalconsole

Use Drupal Console⁠ in a Docker container.

⁠Install

  1. Clone this repository

     git clone --recursive https://github.com/mparker17/docker-drupalconsole.git
     cd docker-drupalconsole
    
  2. Build the image:

     docker-build -t drupalconsole .
    

⁠Use

  1. Run:

     cd /path/to/drupal/root
     docker run --rm -it -v="$pwd:/var/www/html" drupalconsole $rest_of_drupal_console_command
    

    for example,

     docker run --rm -it -v="$pwd:/var/www/html" drupalconsole list
     docker run --rm -it -v="$pwd:/var/www/html" drupalconsole generate:module
    

⁠License

Since the Drupal Console project⁠ doesn't contain a license file, I'm not including one here either.

However, since the Drupal Console project is posted to drupal.org⁠, it's GNU/GPL version 2 and later⁠.

Tag summary
Recent tags
Content type
Image
Digest
sha256:d0838ceaa…
Size
178.2 MB
Last updated
about 10 years ago
docker pull mparker17/drupalconsole:latest