-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathDockerfile
57 lines (44 loc) · 984 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
FROM php:7.2-apache
LABEL maintainer="Luiz Eduardo <luiz@powertic.com>"
RUN apt-get update
RUN apt-get install software-properties-common -y
RUN apt-get install sudo build-essential tcl8.5 zlib1g-dev libicu-dev g++ -y
RUN apt-get install -y \
curl \
libmemcached-dev \
libz-dev \
libpq-dev \
libjpeg-dev \
libpng-dev \
libfreetype6-dev \
libcurl4-openssl-dev \
libssl-dev \
bzip2 \
csstidy \
libfreetype6-dev \
libicu-dev \
libldap2-dev \
libmemcached-dev \
libxml2-dev \
libz-dev \
tidy \
libapache2-modsecurity \
wget \
nano \
htop \
zip \
unzip
RUN docker-php-ext-install pdo intl xml zip mysqli pdo_mysql soap
# Install Extra modules
RUN pecl install \
apcu-5.1.11 \
memcached-3.0.4
# Enable Extra modules
RUN docker-php-ext-enable \
apcu \
memcached
RUN a2enmod setenvif headers deflate filter expires rewrite include ext_filter
WORKDIR /var/www/html
COPY . /var/www/html/
EXPOSE 80
CMD ["apache2-foreground"]