# # Add additionnal modules # https://github.com/mlocati/docker-php-extension-installer # FROM --platform=linux/amd64 php:8-fpm ARG TARGETPLATFORM ARG TARGETOS ARG TARGETARCH ARG BUILDPLATFORM ARG BUILDOS ARG BUILDARCH ARG BUILDVARIANT COPY platform.sh . RUN ./platform.sh ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" RUN chmod +x /usr/local/bin/install-php-extensions && \ install-php-extensions \ apcu \ bcmath \ bz2 \ calendar \ # cmark \ decimal \ ev \ event \ excimer \ exif \ gd \ gearman \ # geoip \ gettext \ # gmagick \ gmp \ http \ igbinary \ imagick \ intl \ ion \ ioncube_loader \ # jsmin \ lzf \ mcrypt \ memcache \ memcached \ opcache \ # recode \ redis \ timezonedb \ xml \ yaml \ zip \ zstd \ curl \ ctype \ dom \ json \ mbstring \ openssl \ session \ simplexml LABEL author "Olivier Le Bris" LABEL maintainer "zogg" LABEL com.centurylinklabs.watchtower.enable=false LABEL org.opencontainers.image.source "https://zogg.fr" LABEL org.opencontainers.image.licenses MIT