Skip to content

Commit d7f2e9b

Browse files
committed
Update PHP 7.4.0
1 parent 31b5db7 commit d7f2e9b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

Dockerfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM alpine:3.10 as builder
22

3-
ARG PHP_VERSION=7.3.12
3+
ARG PHP_VERSION=7.4.0
44
ARG COMPOSER_VERSION=1.9.1
55

66
RUN set -ex \
@@ -12,8 +12,8 @@ RUN set -ex \
1212
&& wget -O php.tar.xz.asc https://secure.php.net/get/php-$PHP_VERSION.tar.xz.asc/from/this/mirror \
1313
&& export GNUPGHOME="$(mktemp -d)"; \
1414
for key in \
15-
CBAF69F173A0FEA4B537F470D66C9593118BCCB6 \
16-
F38252826ACD957EF380D39F2F7956BC5DA04B5D \
15+
42670A7FE4D0441C8E4632349E4FDC074A4EF02D \
16+
5A52880781F755608BF815FC910DEB46F53EA312 \
1717
; do \
1818
gpg --batch --keyserver ha.pool.sks-keyservers.net --keyserver-options timeout=10 --recv-keys "$key" || \
1919
gpg --batch --keyserver hkp://ipv4.pool.sks-keyservers.net --keyserver-options timeout=10 --recv-keys "$key" || \
@@ -37,6 +37,8 @@ RUN set -xe \
3737
libedit-dev \
3838
openssl-dev \
3939
libsodium-dev \
40+
linux-headers \
41+
oniguruma-dev \
4042
libxml2-dev \
4143
sqlite-dev \
4244
\
@@ -66,6 +68,7 @@ RUN set -xe \
6668
--with-libedit \
6769
--with-openssl \
6870
--with-zlib \
71+
--with-pear \
6972
--enable-fpm \
7073
--with-fpm-user=www-data \
7174
--with-fpm-group=www-data \
@@ -279,6 +282,7 @@ RUN docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xmlrpc \
279282
# xsl
280283
RUN apk add --no-cache \
281284
libxslt-dev \
285+
libgcrypt-dev \
282286
&& docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) xsl \
283287
&& (rm -rf /usr/local/lib/php/test/xsl || true) \
284288
&& (rm -rf /usr/local/lib/php/doc/xsl || true)

0 commit comments

Comments
 (0)