Dockerfile 858 B

1234567891011121314151617181920212223
  1. # Drupal 11 image with Drush + migrate modules for D7 migration testing
  2. FROM drupal:11
  3. # Install Drush and migrate modules (baked in so container is reproducible)
  4. RUN composer config --no-plugins allow-plugins.symfony/runtime true \
  5. && composer require --no-interaction --with-all-dependencies \
  6. drupal/core-recommended:^11.4.5 \
  7. drupal/core-composer-scaffold:^11.4.5 \
  8. drupal/core-project-message:^11.4.5 \
  9. drush/drush \
  10. drupal/migrate_plus \
  11. drupal/migrate_tools \
  12. drupal/migrate_upgrade \
  13. drupal/smtp \
  14. drupal/views_aggregator \
  15. drupal/views_data_export \
  16. && composer clear-cache
  17. # Custom moodul: parandab views_data_export rea renderdamise D11-s.
  18. COPY custom_modules/mustikas_export /opt/drupal/web/modules/custom/mustikas_export
  19. # Make drush available on PATH
  20. ENV PATH="/opt/drupal/vendor/bin:${PATH}"