geerlingguy / drupal-container

Drupal container for running Drupal sites with Docker, built with Ansible.
https://hub.docker.com/r/geerlingguy/drupal/
44 stars 27 forks source link

Make container work with composer create-project for Drupal 8.8+ #23

Closed geerlingguy closed 4 years ago

geerlingguy commented 4 years ago

There are a couple more changes I'd like to make after completing #22 — with Drupal 8.8+, the recommended way to begin a new Drupal site codebase is with composer create-project, e.g.:

composer -n create-project drupal/recommended-project:^8.8@dev my-project

This is a bit different than other methods, because:

And I'd also like to add a DRUPAL_RUN_COMPOSER_INSTALL env var as part of this, for those who wish to run it after a tarball or git clone.