blob: 869ff3f7e8f531b1302084f72c434ccc05f2f380 (
plain) (
blame)
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
|
FROM php:8.1-apache
# Apache packages
RUN apt-get update -y \
&& apt-get upgrade -y \
&& apt-get install -y \
libgd-dev \
libfreetype6-dev \
libjpeg62-turbo-dev \
libpng-dev \
libxml2-dev \
zlib1g-dev \
texlive-full \
latex2rtf \
libzip-dev \
zip \
nano \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# PHP configure freetype
RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/
# PHP modules
RUN /usr/local/bin/docker-php-ext-install \
mysqli \
pdo \
pdo_mysql \
bcmath \
soap \
gd \
opcache \
zip
# Enable rewrite module
RUN a2enmod rewrite
|