2023-02-28 20:08:33 +01:00
|
|
|
FROM php:8.2-fpm-alpine3.17
|
2023-05-30 16:20:35 +02:00
|
|
|
LABEL maintainer "The Infrastructure Company GmbH <info@servercow.de>"
|
2017-03-02 11:23:23 +01:00
|
|
|
|
2023-10-02 20:22:08 +02:00
|
|
|
# renovate: datasource=github-tags depName=krakjoe/apcu versioning=semver-coerced extractVersion=^v(?<version>.*)$
|
2023-01-17 19:45:32 +01:00
|
|
|
ARG APCU_PECL_VERSION=5.1.22
|
2023-10-02 20:22:08 +02:00
|
|
|
# renovate: datasource=github-tags depName=Imagick/imagick versioning=semver-coerced extractVersion=^v(?<version>.*)$
|
2023-01-17 19:45:32 +01:00
|
|
|
ARG IMAGICK_PECL_VERSION=3.7.0
|
2023-10-02 20:22:08 +02:00
|
|
|
# renovate: datasource=github-tags depName=php/pecl-mail-mailparse versioning=semver-coerced extractVersion=^v(?<version>.*)$
|
2023-01-17 19:45:32 +01:00
|
|
|
ARG MAILPARSE_PECL_VERSION=3.1.4
|
2023-10-02 20:22:08 +02:00
|
|
|
# renovate: datasource=github-tags depName=php-memcached-dev/php-memcached versioning=semver-coerced extractVersion=^v(?<version>.*)$
|
2023-01-17 19:45:32 +01:00
|
|
|
ARG MEMCACHED_PECL_VERSION=3.2.0
|
2023-10-02 20:22:08 +02:00
|
|
|
# renovate: datasource=github-tags depName=phpredis/phpredis versioning=semver-coerced extractVersion=^v(?<version>.*)$
|
2023-01-17 19:45:32 +01:00
|
|
|
ARG REDIS_PECL_VERSION=5.3.7
|
2023-10-02 20:22:08 +02:00
|
|
|
# renovate: datasource=github-tags depName=composer/composer versioning=semver-coerced extractVersion=^v(?<version>.*)$
|
2023-03-24 16:05:35 +01:00
|
|
|
ARG COMPOSER_VERSION=2.5.5
|
2017-10-08 22:47:52 +02:00
|
|
|
|
2018-04-26 13:51:55 +02:00
|
|
|
RUN apk add -U --no-cache autoconf \
|
2020-07-23 11:21:37 +02:00
|
|
|
aspell-dev \
|
2020-07-25 08:54:43 +02:00
|
|
|
aspell-libs \
|
2018-04-26 13:51:55 +02:00
|
|
|
bash \
|
|
|
|
c-client \
|
|
|
|
cyrus-sasl-dev \
|
2018-02-18 20:59:32 +01:00
|
|
|
freetype \
|
|
|
|
freetype-dev \
|
2018-04-26 13:51:55 +02:00
|
|
|
g++ \
|
2019-02-04 23:46:45 +01:00
|
|
|
git \
|
2022-11-08 09:45:25 +01:00
|
|
|
gettext \
|
2017-11-14 10:44:00 +01:00
|
|
|
gettext-dev \
|
2020-06-14 20:13:09 +02:00
|
|
|
gmp-dev \
|
2020-02-16 14:20:26 +01:00
|
|
|
gnupg \
|
2018-04-26 13:51:55 +02:00
|
|
|
icu-dev \
|
|
|
|
icu-libs \
|
|
|
|
imagemagick \
|
|
|
|
imagemagick-dev \
|
|
|
|
imap-dev \
|
2018-12-10 13:22:25 +01:00
|
|
|
jq \
|
2022-11-08 09:45:25 +01:00
|
|
|
libavif \
|
|
|
|
libavif-dev \
|
2018-04-26 13:51:55 +02:00
|
|
|
libjpeg-turbo \
|
|
|
|
libjpeg-turbo-dev \
|
2022-11-08 09:45:25 +01:00
|
|
|
libmemcached \
|
2018-04-26 13:51:55 +02:00
|
|
|
libmemcached-dev \
|
|
|
|
libpng \
|
|
|
|
libpng-dev \
|
|
|
|
libressl \
|
|
|
|
libressl-dev \
|
2017-10-21 10:10:27 +02:00
|
|
|
librsvg \
|
2018-04-26 13:51:55 +02:00
|
|
|
libtool \
|
|
|
|
libwebp-dev \
|
|
|
|
libxml2-dev \
|
2022-11-08 09:45:25 +01:00
|
|
|
libxpm \
|
2018-04-26 13:51:55 +02:00
|
|
|
libxpm-dev \
|
2022-11-08 09:45:25 +01:00
|
|
|
libzip \
|
2019-02-04 23:46:45 +01:00
|
|
|
libzip-dev \
|
2023-02-28 20:08:33 +01:00
|
|
|
linux-headers \
|
2018-04-26 13:51:55 +02:00
|
|
|
make \
|
|
|
|
mysql-client \
|
|
|
|
openldap-dev \
|
|
|
|
pcre-dev \
|
2018-04-26 22:04:59 +02:00
|
|
|
re2c \
|
2018-04-26 13:51:55 +02:00
|
|
|
redis \
|
|
|
|
samba-client \
|
|
|
|
zlib-dev \
|
2019-02-04 23:46:45 +01:00
|
|
|
tzdata \
|
2023-01-17 19:45:32 +01:00
|
|
|
&& pecl install APCu-${APCU_PECL_VERSION} \
|
|
|
|
&& pecl install imagick-${IMAGICK_PECL_VERSION} \
|
|
|
|
&& pecl install mailparse-${MAILPARSE_PECL_VERSION} \
|
|
|
|
&& pecl install memcached-${MEMCACHED_PECL_VERSION} \
|
|
|
|
&& pecl install redis-${REDIS_PECL_VERSION} \
|
2019-02-04 23:46:45 +01:00
|
|
|
&& docker-php-ext-enable apcu imagick memcached mailparse redis \
|
2018-04-26 13:51:55 +02:00
|
|
|
&& pecl clear-cache \
|
|
|
|
&& docker-php-ext-configure intl \
|
2019-06-10 13:39:53 +02:00
|
|
|
&& docker-php-ext-configure exif \
|
2020-05-12 18:30:09 +02:00
|
|
|
&& docker-php-ext-configure gd --with-freetype=/usr/include/ \
|
|
|
|
--with-jpeg=/usr/include/ \
|
2022-11-08 09:45:25 +01:00
|
|
|
--with-webp \
|
|
|
|
--with-xpm \
|
|
|
|
--with-avif \
|
2023-03-24 16:08:19 +01:00
|
|
|
&& docker-php-ext-install -j 4 exif gd gettext intl ldap opcache pcntl pdo pdo_mysql pspell soap sockets sysvsem zip bcmath gmp \
|
2017-10-21 10:10:27 +02:00
|
|
|
&& docker-php-ext-configure imap --with-imap --with-imap-ssl \
|
2018-04-26 13:51:55 +02:00
|
|
|
&& docker-php-ext-install -j 4 imap \
|
2023-01-17 19:45:32 +01:00
|
|
|
&& curl --silent --show-error https://getcomposer.org/installer | php -- --version=${COMPOSER_VERSION} \
|
2019-09-28 19:58:40 +02:00
|
|
|
&& mv composer.phar /usr/local/bin/composer \
|
|
|
|
&& chmod +x /usr/local/bin/composer \
|
2018-04-26 13:51:55 +02:00
|
|
|
&& apk del --purge autoconf \
|
2020-07-23 11:21:37 +02:00
|
|
|
aspell-dev \
|
2018-04-26 13:51:55 +02:00
|
|
|
cyrus-sasl-dev \
|
|
|
|
freetype-dev \
|
|
|
|
g++ \
|
2022-11-08 09:45:25 +01:00
|
|
|
gettext-dev \
|
2018-04-26 13:51:55 +02:00
|
|
|
icu-dev \
|
|
|
|
imagemagick-dev \
|
|
|
|
imap-dev \
|
2022-11-08 09:45:25 +01:00
|
|
|
libavif-dev \
|
2018-04-26 13:51:55 +02:00
|
|
|
libjpeg-turbo-dev \
|
2022-11-08 09:45:25 +01:00
|
|
|
libmemcached-dev \
|
2018-04-26 13:51:55 +02:00
|
|
|
libpng-dev \
|
|
|
|
libressl-dev \
|
|
|
|
libwebp-dev \
|
|
|
|
libxml2-dev \
|
2022-11-08 09:45:25 +01:00
|
|
|
libxpm-dev \
|
|
|
|
libzip-dev \
|
2023-02-28 20:08:33 +01:00
|
|
|
linux-headers \
|
2018-04-26 13:51:55 +02:00
|
|
|
make \
|
2022-11-08 09:45:25 +01:00
|
|
|
openldap-dev \
|
2018-04-26 13:51:55 +02:00
|
|
|
pcre-dev \
|
|
|
|
zlib-dev
|
2017-10-21 10:10:27 +02:00
|
|
|
|
2017-05-29 08:45:30 +02:00
|
|
|
COPY ./docker-entrypoint.sh /
|
2017-03-02 11:23:23 +01:00
|
|
|
|
|
|
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|
2019-10-18 12:01:47 +02:00
|
|
|
|
2023-01-17 19:45:32 +01:00
|
|
|
CMD ["php-fpm"]
|