first commit
This commit is contained in:
commit
098f59b644
3632 changed files with 518046 additions and 0 deletions
32
drupal/drupal/Dockerfile
Normal file
32
drupal/drupal/Dockerfile
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
ARG DRUPAL_VERSION
|
||||
|
||||
FROM drupal:${DRUPAL_VERSION}-php8.4-fpm-bookworm
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
git \
|
||||
vim \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Upload progress
|
||||
RUN set -eux; \
|
||||
git clone https://github.com/php/pecl-php-uploadprogress/ /usr/src/php/ext/uploadprogress/; \
|
||||
docker-php-ext-configure uploadprogress; \
|
||||
docker-php-ext-install uploadprogress; \
|
||||
rm -rf /usr/src/php/ext/uploadprogress;
|
||||
|
||||
# Install apcu
|
||||
RUN set -eux; \
|
||||
pecl install apcu;
|
||||
|
||||
# Add php configs
|
||||
RUN { \
|
||||
echo 'extension=apcu.so'; \
|
||||
echo "apc.enable_cli=1"; \
|
||||
echo "apc.enable=1"; \
|
||||
echo "apc.shm_size=32M"; \
|
||||
} >> /usr/local/etc/php/conf.d/zz-apcu-custom.ini;
|
||||
|
||||
# Enable output buffering
|
||||
RUN { \
|
||||
echo 'output_buffering = on'; \
|
||||
} >> /usr/local/etc/php/conf.d/zz-drupal-recommended.ini;
|
||||
Loading…
Add table
Add a link
Reference in a new issue