-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.82
50 lines (46 loc) · 1.31 KB
/
Dockerfile.82
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
from php:8.2-fpm
RUN apt-get update && apt-get install -y \
apt-utils
RUN apt-get install -y \
libmcrypt-dev \
libfreetype6-dev \
libjpeg62-turbo-dev \
libpng-dev \
libfreetype6-dev \
libjpeg62-turbo-dev \
libpng-dev \
libmemcached-dev \
zlib1g-dev \
mariadb-client \
libsqlite3-dev \
libsqlite3-0 \
libc-client-dev \
libxml2-dev \
curl \
libc6 \
libcurl4-gnutls-dev \
libonig-dev \
libzip-dev \
libcurl4
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-install -j$(nproc) gd \
mbstring \
bcmath \
exif \
fileinfo \
gettext \
opcache \
soap \
dom \
zip \
xml \
xmlwriter \
phar \
sockets \
posix
RUN pecl channel-update pecl.php.net \
&& yes | pecl install xdebug \
&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \
&& echo "xdebug.mode=debug" >> /usr/local/etc/php/conf.d/xdebug.ini \
&& docker-php-ext-enable xdebug