File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -12,22 +12,22 @@ RUN apt-get update && \
12
12
13
13
RUN apt-get update && \
14
14
apt-get remove php7.0 && \
15
- apt-get install -y --no-install-recommends --no-install-suggests nginx php7.1 php7.1 -fpm php7.1 -cli php7.1 -common ca-certificates gettext && \
15
+ apt-get install -y --no-install-recommends --no-install-suggests nginx php7.2 php7.2 -fpm php7.2 -cli php7.2 -common ca-certificates gettext && \
16
16
rm -rf /var/lib/apt/lists/*
17
17
18
18
# forward request and error logs to docker log collector
19
19
RUN ln -sf /dev/stdout /var/log/nginx/access.log \
20
20
&& ln -sf /dev/stderr /var/log/nginx/error.log \
21
- && ln -sf /dev/stderr /var/log/php7.1 -fpm.log
21
+ && ln -sf /dev/stderr /var/log/php7.2 -fpm.log
22
22
23
23
RUN rm -f /etc/nginx/sites-enabled/*
24
24
25
25
COPY nginx.conf.tpl /tmp/nginx.conf.tpl
26
26
COPY php-fpm.conf.tpl /tmp/php-fpm.conf.tpl
27
- COPY defaults.ini /etc/php/7.1 /cli/conf.d/defaults.ini
28
- COPY defaults.ini /etc/php/7.1 /fpm/conf.d/defaults.ini
27
+ COPY defaults.ini /etc/php/7.2 /cli/conf.d/defaults.ini
28
+ COPY defaults.ini /etc/php/7.2 /fpm/conf.d/defaults.ini
29
29
30
- RUN mkdir -p /run/php && touch /run/php/php7.1 -fpm.sock && touch /run/php/php7.1 -fpm.pid
30
+ RUN mkdir -p /run/php && touch /run/php/php7.2 -fpm.sock && touch /run/php/php7.2 -fpm.pid
31
31
32
32
COPY entrypoint.sh /entrypoint.sh
33
33
RUN chmod 755 /entrypoint.sh
Original file line number Diff line number Diff line change @@ -5,6 +5,6 @@ RUN apt-get update && \
5
5
apt-get install -y --no-install-recommends --no-install-suggests \
6
6
php-mongodb php-curl php-intl php-soap php-xml php-mcrypt php-bcmath \
7
7
php-mysql php-amqp php-gearman php-mbstring php-ldap php-zip php-gd php-xdebug php-imagick && \
8
- rm -f /etc/php/7.1 /cli/conf.d/*xdebug.ini && \
9
- rm -f /etc/php/7.1 /fpm/conf.d/*xdebug.ini && \
8
+ rm -f /etc/php/7.2 /cli/conf.d/*xdebug.ini && \
9
+ rm -f /etc/php/7.2 /fpm/conf.d/*xdebug.ini && \
10
10
rm -rf /var/lib/apt/lists/*
You can’t perform that action at this time.
0 commit comments