FROM php:8.0-fpm ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/ RUN apt-get update && apt-get install -y procps && rm -rf /var/lib/apt/lists/* RUN chmod uga+x /usr/local/bin/install-php-extensions && sync && \ install-php-extensions zip ssh2 pdo_mysql mysqli COPY docker-php-entrypoint-custom /usr/local/bin/ RUN chmod 775 /usr/local/bin/docker-php-entrypoint-custom ENTRYPOINT ["docker-php-entrypoint-custom"]