-
-
Notifications
You must be signed in to change notification settings - Fork 188
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (20 loc) · 622 Bytes
/
Dockerfile
File metadata and controls
23 lines (20 loc) · 622 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM php:8.3-fpm
RUN apt-get clean && apt-get update
RUN apt-get install -y \
libfreetype6-dev \
libjpeg62-turbo-dev \
libxml2-dev \
libwebp-dev \
libpng-dev \
libzip-dev \
libonig-dev \
libcurl4-openssl-dev \
&& docker-php-ext-configure gd --with-webp --with-jpeg\
&& docker-php-ext-install -j$(nproc) gd\
&& docker-php-ext-install xml dom curl mbstring intl gettext\
&& docker-php-ext-install zip\
&& pecl bundle -d /usr/src/php/ext apcu\
&& docker-php-ext-install /usr/src/php/ext/apcu\
# && docker-php-ext-install sqlite3\
&& docker-php-ext-install mysqli
COPY php.ini ${PHP_INI_DIR}