diff --git a/Dockerfile b/Dockerfile index e1dfcfc..696315b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,8 +6,13 @@ RUN docker-php-ext-install gd intl opcache pdo_mysql pdo_pgsql sodium zip mysqli RUN docker-php-ext-enable gd intl opcache pdo_mysql pdo_pgsql sodium zip mysqli +# Skip prompt about composer compiling +# https://github.com/civicrm/composer-compile-plugin/blob/master/doc/site-build.md ENV COMPOSER_COMPILE=all +# 1. Manually allow plugins, +# 2. Do the stuff recommended here: https://docs.civicrm.org/installation/en/latest/drupal/ +# 3. Fix file permissions RUN composer config --no-plugins allow-plugins.civicrm/civicrm-asset-plugin true && \ composer config --no-plugins allow-plugins.civicrm/composer-downloads-plugin true && \ composer config --no-plugins allow-plugins.cweagans/composer-patches true && \