Update php versions. Add git to all images

This commit is contained in:
2020-03-12 16:34:50 +07:00
parent 188d1955ff
commit 24bb1f9f74
4 changed files with 18 additions and 9 deletions

View File

@@ -1,4 +1,4 @@
FROM php:7.2.26-alpine
FROM php:7.2.28-alpine
ARG PHP_XDEBUG_VERSION=2.7.2
ARG PHP_RDKAFKA_VERSION=3.1.2
@@ -6,7 +6,7 @@ ARG PHP_TIMECOP_VERSION=1.2.10
RUN apk update && apk add --no-cache $PHPIZE_DEPS
RUN apk add --no-cache zlib-dev gd-dev libwebp-dev freetype-dev libpng-dev libjpeg-turbo-dev \
curl gmp-dev librdkafka-dev imap-dev openssl-dev
curl gmp-dev librdkafka-dev imap-dev openssl-dev git
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ \
--with-jpeg-dir=/usr/include/ \
--with-png-dir=/usr/include/ \