blob: f4ad4570cc0ffdcd3cc14736d5ae183fb2e4625f [file] [log] [blame]
Nico Huber8cd50ee2023-06-24 15:35:16 +00001FROM php:8.2-fpm-alpine
2
3RUN \
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
12RUN mv "${PHP_INI_DIR}/php.ini-production" "${PHP_INI_DIR}/php.ini"
13
Nico Huberba887d02023-07-25 16:59:06 +000014COPY Dockerfile.entrypoint /simpleid-entrypoint
Nico Huber8cd50ee2023-06-24 15:35:16 +000015RUN chmod 544 /simpleid-entrypoint
16
17ENTRYPOINT ["/bin/sh", "/simpleid-entrypoint"]