Nico Huber | 8cd50ee | 2023-06-24 15:35:16 +0000 | [diff] [blame] | 1 | FROM php:8.2-fpm-alpine |
| 2 | |
| 3 | RUN \ |
| 4 | apk add gmp gmp-dev && \ |
| 5 | docker-php-ext-configure bcmath && \ |
| 6 | docker-php-ext-install -j$(nproc) bcmath && \ |
| 7 | docker-php-ext-configure gmp && \ |
| 8 | docker-php-ext-install -j$(nproc) gmp && \ |
| 9 | docker-php-ext-enable opcache && \ |
| 10 | apk del gmp-dev |
| 11 | |
| 12 | RUN mv "${PHP_INI_DIR}/php.ini-production" "${PHP_INI_DIR}/php.ini" |
| 13 | |
Nico Huber | ba887d0 | 2023-07-25 16:59:06 +0000 | [diff] [blame^] | 14 | COPY Dockerfile.entrypoint /simpleid-entrypoint |
Nico Huber | 8cd50ee | 2023-06-24 15:35:16 +0000 | [diff] [blame] | 15 | RUN chmod 544 /simpleid-entrypoint |
| 16 | |
| 17 | ENTRYPOINT ["/bin/sh", "/simpleid-entrypoint"] |