mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-07 14:44:15 -06:00
Merge pull request #1977 from BastiaanN/docker-cache
Added memcached support and zend opcache
This commit is contained in:
commit
3c20938e0f
@ -13,7 +13,8 @@ RUN apt-get update && apt-get install -y libpng-dev \
|
|||||||
gettext-base \
|
gettext-base \
|
||||||
libldap2-dev \
|
libldap2-dev \
|
||||||
libpq-dev \
|
libpq-dev \
|
||||||
locales && \
|
locales \
|
||||||
|
libmemcached-dev && \
|
||||||
apt-get clean && \
|
apt-get clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
@ -35,7 +36,9 @@ RUN chown -R www-data:www-data /var/www && \
|
|||||||
chmod -R 775 $FIREFLY_PATH/storage && \
|
chmod -R 775 $FIREFLY_PATH/storage && \
|
||||||
a2enmod rewrite && a2enmod ssl && \
|
a2enmod rewrite && a2enmod ssl && \
|
||||||
docker-php-ext-configure ldap --with-libdir=lib/$(gcc -dumpmachine)/ && \
|
docker-php-ext-configure ldap --with-libdir=lib/$(gcc -dumpmachine)/ && \
|
||||||
docker-php-ext-install -j$(nproc) zip bcmath ldap gd pdo_pgsql pdo_mysql intl && \
|
docker-php-ext-install -j$(nproc) zip bcmath ldap gd pdo_pgsql pdo_mysql intl opcache && \
|
||||||
|
pecl install memcached-3.1.3 && \
|
||||||
|
docker-php-ext-enable memcached && \
|
||||||
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
|
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
|
||||||
echo "de_DE.UTF-8 UTF-8\nen_US.UTF-8 UTF-8\nes_ES.UTF-8 UTF-8\nfr_FR.UTF-8 UTF-8\nid_ID.UTF-8 UTF-8\nit_IT.UTF-8 UTF-8\nnl_NL.UTF-8 UTF-8\npl_PL.UTF-8 UTF-8\npt_BR.UTF-8 UTF-8\nru_RU.UTF-8 UTF-8\ntr_TR.UTF-8 UTF-8\nzh_TW.UTF-8 UTF-8\n\n" > /etc/locale.gen && \
|
echo "de_DE.UTF-8 UTF-8\nen_US.UTF-8 UTF-8\nes_ES.UTF-8 UTF-8\nfr_FR.UTF-8 UTF-8\nid_ID.UTF-8 UTF-8\nit_IT.UTF-8 UTF-8\nnl_NL.UTF-8 UTF-8\npl_PL.UTF-8 UTF-8\npt_BR.UTF-8 UTF-8\nru_RU.UTF-8 UTF-8\ntr_TR.UTF-8 UTF-8\nzh_TW.UTF-8 UTF-8\n\n" > /etc/locale.gen && \
|
||||||
locale-gen && \
|
locale-gen && \
|
||||||
|
Loading…
Reference in New Issue
Block a user