Add comments to Dockerfile

[ci skip]
This commit is contained in:
3wc 2023-01-30 11:14:55 -08:00
parent 7751ba3d6a
commit 92693c08f2
1 changed files with 5 additions and 0 deletions

View File

@ -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 && \