From 5bf62f362ef09cadb3a6e629706e7427d922ad56 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Mon, 4 Jul 2022 01:25:46 +0300 Subject: [PATCH] unfinished --- docker/Dockerfile => Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) rename docker/Dockerfile => Dockerfile (56%) diff --git a/docker/Dockerfile b/Dockerfile similarity index 56% rename from docker/Dockerfile rename to Dockerfile index 0c13ebc..7d4b622 100644 --- a/docker/Dockerfile +++ b/Dockerfile @@ -1,11 +1,17 @@ -FROM php:7.4-fpm-alpine +FROM php:8.1-fpm-alpine ENV PHP_TIMEZONE Europe/Moscow RUN apk update && \ apk add postgresql-dev libpq && \ + docker-php-ext-configure igbinary && \ + docker-php-ext-configure intl && \ docker-php-ext-configure pdo_pgsql && \ + docker-php-ext-install -j$(nproc) igbinary && \ + docker-php-ext-install -j$(nproc) instl && \ docker-php-ext-install -j$(nproc) pdo_pgsql && \ + pecl install redis-5.3.7 && \ + docker-php-ext-enable redis && \ apk del postgresql-dev && \ mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" && \ echo "date.timezone = $PHP_TIMEZONE" > $PHP_INI_DIR/conf.d/timezone.ini