-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
33 lines (31 loc) · 986 Bytes
/
Dockerfile
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
FROM php:7.4.33-apache
# Instala dependências do sistema
RUN apt-get update && apt-get install -y --no-install-recommends \
graphicsmagick \
libgraphicsmagick1-dev \
ffmpeg \
ghostscript \
poppler-utils \
mediainfo \
libreoffice \
libcurl4-openssl-dev \
libzip-dev
# Instala extensões do PHP
RUN docker-php-source extract && \
docker-php-ext-install curl && \
docker-php-ext-enable curl && \
docker-php-ext-install gd && \
docker-php-ext-enable gd && \
docker-php-ext-install mysqli && \
docker-php-ext-enable mysqli && \
docker-php-ext-install opcache && \
docker-php-ext-enable opcache && \
docker-php-ext-install sockets && \
docker-php-ext-enable sockets && \
pecl install -f zip && \
docker-php-ext-enable zip && \
pecl install -f redis && \
docker-php-ext-enable redis && \
pecl install -f gmagick-2.0.6RC1 && \
docker-php-ext-enable gmagick && \
docker-php-source delete