FROM php:8.2-fpm-alpine | |
RUN \ | |
apk add gmp gmp-dev && \ | |
docker-php-ext-configure bcmath && \ | |
docker-php-ext-install -j$(nproc) bcmath && \ | |
docker-php-ext-configure gmp && \ | |
docker-php-ext-install -j$(nproc) gmp && \ | |
docker-php-ext-enable opcache && \ | |
apk del gmp-dev | |
RUN mv "${PHP_INI_DIR}/php.ini-production" "${PHP_INI_DIR}/php.ini" | |
COPY Dockerfile.entrypoint /simpleid-entrypoint | |
RUN chmod 544 /simpleid-entrypoint | |
ENTRYPOINT ["/bin/sh", "/simpleid-entrypoint"] |