Skip to content

Commit

Permalink
add apcu und some cr
Browse files Browse the repository at this point in the history
  • Loading branch information
rnsrk committed Nov 11, 2024
1 parent 53b3984 commit aa1fb77
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,25 @@ RUN apt-get update; \
vim \
wget

# 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=128M"; \
} >> /usr/local/etc/php/conf.d/99-apcu-custom.ini;

# Install drush
RUN composer require drush/drush

Expand Down
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ else
#{
composer require soda-collection-objects-data-literacy/wisski_grain_yeast_water:${WISSKI_GRAIN_YEAST_WATER_VERSION}
composer unpack soda-collection-objects-data-literacy/wisski_grain_yeast_water
drush cr
drush recipe ../recipes/wisski_grain_yeast_water
drush cr
#} 1> /dev/null
Expand Down Expand Up @@ -109,6 +110,7 @@ else
composer require soda-collection-objects-data-literacy/wisski_${FLAVOUR}:dev-main
composer unpack soda-collection-objects-data-literacy/wisski_${FLAVOUR}
drush recipe ../recipes/wisski_${FLAVOUR}
drush cr
drush wisski-core:recreate-menus
drush cr
} 1> /dev/null
Expand Down

0 comments on commit aa1fb77

Please sign in to comment.