-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
58 lines (53 loc) · 1.32 KB
/
Dockerfile
File metadata and controls
58 lines (53 loc) · 1.32 KB
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
51
52
53
54
55
56
57
58
FROM php:8.3-bullseye
ENV DEBIAN_FRONTEND noninteractive
LABEL maintainer="Tarun Jangra<[email protected]>"
RUN apt-get update && apt-get install -y \
libwebp-dev \
libjpeg62-turbo-dev \
libpng-dev \
libxpm-dev \
libfreetype6-dev \
libicu-dev \
libxcb1 \
libxext6 \
libxrender1 \
libc6 \
libfreetype6 \
libcurl4-gnutls-dev \
libzip-dev \
libxml2-dev \
libyaml-dev \
libtidy-dev \
libldb-dev \
libldap2-dev \
libc-client-dev \
libkrb5-dev \
unzip \
fontconfig \
xfonts-75dpi \
xfonts-base \
curl \
fonts-lohit-guru \
fonts-guru-extra \
fonts-guru \
libgmp-dev \
unzip \
python3
RUN docker-php-ext-configure gd \
--with-jpeg \
--with-freetype \
&& docker-php-ext-install -j$(nproc) gd
RUN docker-php-ext-install mysqli \
&& docker-php-ext-install intl \
&& docker-php-ext-install pdo_mysql \
&& docker-php-ext-install zip \
&& docker-php-ext-install fileinfo \
&& docker-php-ext-install curl \
&& docker-php-ext-install bcmath \
&& docker-php-ext-install gmp \
&& docker-php-ext-install opcache
RUN apt-get autoremove -y \
&& apt-get clean \
&& apt-get autoclean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
&& rm /bin/sh && ln -s /bin/bash /bin/sh