mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-01-06 16:04:31 +08:00
Add regex for matchstring line in Dockerfiles
Update composer to 2.5.1
This commit is contained in:
parent
49bbdd064e
commit
5d5e959729
@ -1,12 +1,18 @@
|
|||||||
FROM php:8.1-fpm-alpine3.17
|
FROM php:8.1-fpm-alpine3.17
|
||||||
LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
|
LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
|
||||||
|
|
||||||
ENV APCU_PECL 5.1.22
|
# renovate: datasource=github-tags depName=krakjoe/apcu versioning=semver-coerced
|
||||||
ENV IMAGICK_PECL 3.7.0
|
ARG APCU_PECL_VERSION=5.1.22
|
||||||
ENV MAILPARSE_PECL 3.1.4
|
# renovate: datasource=github-tags depName=Imagick/imagick versioning=semver-coerced
|
||||||
ENV MEMCACHED_PECL 3.2.0
|
ARG IMAGICK_PECL_VERSION=3.7.0
|
||||||
ENV REDIS_PECL 5.3.7
|
# renovate: datasource=github-tags depName=php/pecl-mail-mailparse versioning=semver-coerced
|
||||||
ENV COMPOSER 2.4.4
|
ARG MAILPARSE_PECL_VERSION=3.1.4
|
||||||
|
# renovate: datasource=github-tags depName=php-memcached-dev/php-memcached versioning=semver-coerced
|
||||||
|
ARG MEMCACHED_PECL_VERSION=3.2.0
|
||||||
|
# renovate: datasource=github-tags depName=phpredis/phpredis versioning=semver-coerced
|
||||||
|
ARG REDIS_PECL_VERSION=5.3.7
|
||||||
|
# renovate: datasource=github-tags depName=composer/composer versioning=semver-coerced
|
||||||
|
ARG COMPOSER_VERSION=2.5.1
|
||||||
|
|
||||||
RUN apk add -U --no-cache autoconf \
|
RUN apk add -U --no-cache autoconf \
|
||||||
aspell-dev \
|
aspell-dev \
|
||||||
@ -55,11 +61,11 @@ RUN apk add -U --no-cache autoconf \
|
|||||||
samba-client \
|
samba-client \
|
||||||
zlib-dev \
|
zlib-dev \
|
||||||
tzdata \
|
tzdata \
|
||||||
&& pecl install mailparse-${MAILPARSE_PECL} \
|
&& pecl install APCu-${APCU_PECL_VERSION} \
|
||||||
&& pecl install redis-${REDIS_PECL} \
|
&& pecl install imagick-${IMAGICK_PECL_VERSION} \
|
||||||
&& pecl install memcached-${MEMCACHED_PECL} \
|
&& pecl install mailparse-${MAILPARSE_PECL_VERSION} \
|
||||||
&& pecl install APCu-${APCU_PECL} \
|
&& pecl install memcached-${MEMCACHED_PECL_VERSION} \
|
||||||
&& pecl install imagick-${IMAGICK_PECL} \
|
&& pecl install redis-${REDIS_PECL_VERSION} \
|
||||||
&& docker-php-ext-enable apcu imagick memcached mailparse redis \
|
&& docker-php-ext-enable apcu imagick memcached mailparse redis \
|
||||||
&& pecl clear-cache \
|
&& pecl clear-cache \
|
||||||
&& docker-php-ext-configure intl \
|
&& docker-php-ext-configure intl \
|
||||||
@ -72,7 +78,7 @@ RUN apk add -U --no-cache autoconf \
|
|||||||
&& docker-php-ext-install -j 4 exif gd gettext intl ldap opcache pcntl pdo pdo_mysql pspell soap sockets zip bcmath gmp \
|
&& docker-php-ext-install -j 4 exif gd gettext intl ldap opcache pcntl pdo pdo_mysql pspell soap sockets zip bcmath gmp \
|
||||||
&& docker-php-ext-configure imap --with-imap --with-imap-ssl \
|
&& docker-php-ext-configure imap --with-imap --with-imap-ssl \
|
||||||
&& docker-php-ext-install -j 4 imap \
|
&& docker-php-ext-install -j 4 imap \
|
||||||
&& curl --silent --show-error https://getcomposer.org/installer | php -- --version=${COMPOSER} \
|
&& curl --silent --show-error https://getcomposer.org/installer | php -- --version=${COMPOSER_VERSION} \
|
||||||
&& mv composer.phar /usr/local/bin/composer \
|
&& mv composer.phar /usr/local/bin/composer \
|
||||||
&& chmod +x /usr/local/bin/composer \
|
&& chmod +x /usr/local/bin/composer \
|
||||||
&& apk del --purge autoconf \
|
&& apk del --purge autoconf \
|
||||||
|
@ -106,7 +106,7 @@ services:
|
|||||||
- rspamd
|
- rspamd
|
||||||
|
|
||||||
php-fpm-mailcow:
|
php-fpm-mailcow:
|
||||||
image: mailcow/phpfpm:1.81
|
image: mailcow/phpfpm:1.82
|
||||||
command: "php-fpm -d date.timezone=${TZ} -d expose_php=0"
|
command: "php-fpm -d date.timezone=${TZ} -d expose_php=0"
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis-mailcow
|
- redis-mailcow
|
||||||
|
Loading…
Reference in New Issue
Block a user