Clean up requires
This commit is contained in:
parent
c9062d0b3a
commit
79a9512320
2 changed files with 16 additions and 7 deletions
17
Dockerfile
17
Dockerfile
|
|
@ -35,7 +35,22 @@ WORKDIR /var/www/html
|
||||||
COPY composer.json ./
|
COPY composer.json ./
|
||||||
|
|
||||||
RUN composer config repositories.drupal composer https://packages.drupal.org/8
|
RUN composer config repositories.drupal composer https://packages.drupal.org/8
|
||||||
RUN composer require drupal/webform drupal/symfony_mailer --no-update
|
|
||||||
|
## Composer requires
|
||||||
|
|
||||||
|
|
||||||
|
# Core
|
||||||
|
RUN composer require composer/installers:^2.3 --no-update
|
||||||
|
RUN composer require drupal/core-recommended:^11 --no-update
|
||||||
|
RUN composer require drupal/core-composer-scaffold:^11 --no-update
|
||||||
|
RUN composer require drush/drush:"^13 || ^14" --no-update
|
||||||
|
|
||||||
|
# Extra
|
||||||
|
RUN composer require drupal/webform drupal/symfony_mailer --no-update
|
||||||
|
|
||||||
|
#######
|
||||||
|
|
||||||
|
|
||||||
RUN composer install --no-dev --optimize-autoloader --no-interaction
|
RUN composer install --no-dev --optimize-autoloader --no-interaction
|
||||||
|
|
||||||
# Overlay our site-specific files on top of the scaffolded web/
|
# Overlay our site-specific files on top of the scaffolded web/
|
||||||
|
|
|
||||||
|
|
@ -5,12 +5,6 @@
|
||||||
"license": "GPL-2.0-or-later",
|
"license": "GPL-2.0-or-later",
|
||||||
"minimum-stability": "dev",
|
"minimum-stability": "dev",
|
||||||
"prefer-stable": true,
|
"prefer-stable": true,
|
||||||
"require": {
|
|
||||||
"composer/installers": "^2.3",
|
|
||||||
"drupal/core-composer-scaffold": "^11",
|
|
||||||
"drupal/core-recommended": "^11",
|
|
||||||
"drush/drush": "^13 || ^14"
|
|
||||||
},
|
|
||||||
"config": {
|
"config": {
|
||||||
"allow-plugins": {
|
"allow-plugins": {
|
||||||
"composer/installers": true,
|
"composer/installers": true,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue