# NOTE: THIS DOCKERFILE IS GENERATED VIA "apply-templates.sh"
#
# PLEASE DO NOT EDIT IT DIRECTLY.
#
# from https://downloads.joomla.org/technical-requirements
FROM php:7.4-fpm-alpine
LABELmaintainer="Llewellyn van der Merwe <llewellyn.van-der-merwe@community.joomla.org> (@Llewellynvdm), Harald Leithner <harald.leithner@community.joomla.org> (@HLeithner)"
# Disable remote database security requirements.
ENVJOOMLA_INSTALLATION_DISABLE_LOCALHOST_CHECK=1
# entrypoint.sh dependencies
RUN apk add --no-cache \
bash
# Install the PHP extensions
RUNset -ex;\
\
apk add --no-cache --virtual .build-deps \
$PHPIZE_DEPS\
autoconf \
bzip2-dev \
gmp-dev \
libjpeg-turbo-dev \
libmcrypt-dev \
libmemcached-dev \
libpng-dev \
libzip-dev \
openldap-dev \
pcre-dev \
postgresql-dev \
;\
\
docker-php-ext-configure gd --with-jpeg;\
docker-php-ext-configure ldap;\
docker-php-ext-install -j "$(nproc)"\
bz2 \
gd \
gmp \
ldap \
mysqli \
pdo_mysql \
pdo_pgsql \
pgsql \
zip \
;\
\
# pecl will claim success even if one install fails, so we need to perform each install separately