From 9ad288242e16896e2f5019437969afa8b0c6775e Mon Sep 17 00:00:00 2001 From: stockmind Date: Wed, 2 Jan 2019 21:18:11 +0100 Subject: [PATCH 1/2] Add XMLReader and XMLWriter php modules It seems that lots of modern php applications require XMLReader (ex: WordPress) and XMLWriter php modules installed to work correctly --- php/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/Dockerfile b/php/Dockerfile index 54d89ed..d823ec5 100644 --- a/php/Dockerfile +++ b/php/Dockerfile @@ -26,7 +26,7 @@ ENV ACME_AGREE="false" RUN apk add --no-cache openssh-client git tar php7-fpm curl # essential php libs -RUN apk add --no-cache php7-curl php7-dom php7-gd php7-ctype php7-zip php7-xml php7-iconv php7-sqlite3 php7-mysqli php7-pgsql php7-json php7-phar php7-openssl php7-pdo php7-pdo_mysql php7-session php7-mbstring php7-bcmath php7-tokenizer php7-fileinfo +RUN apk add --no-cache php7-curl php7-dom php7-gd php7-ctype php7-zip php7-xml php7-xmlreader php7-xmlwriter php7-iconv php7-sqlite3 php7-mysqli php7-pgsql php7-json php7-phar php7-openssl php7-pdo php7-pdo_mysql php7-session php7-mbstring php7-bcmath php7-tokenizer php7-fileinfo # symblink php7 to php RUN ln -sf /usr/bin/php7 /usr/bin/php From 8d33218621dd2753a7a5fc2c0edaff6b6a2e0ce9 Mon Sep 17 00:00:00 2001 From: stockmind Date: Wed, 2 Jan 2019 21:36:32 +0100 Subject: [PATCH 2/2] Add XMLReader and XMLWriter php modules It seems that lots of modern php applications require XMLReader (ex: WordPress) and XMLWriter php modules installed to work correctly --- php/Dockerfile-no-stats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/Dockerfile-no-stats b/php/Dockerfile-no-stats index dde1ba0..6f58ddf 100644 --- a/php/Dockerfile-no-stats +++ b/php/Dockerfile-no-stats @@ -29,7 +29,7 @@ ENV ENABLE_TELEMETRY="false" RUN apk add --no-cache openssh-client git tar php7-fpm curl # essential php libs -RUN apk add --no-cache php7-curl php7-dom php7-gd php7-ctype php7-zip php7-xml php7-iconv php7-sqlite3 php7-mysqli php7-pgsql php7-json php7-phar php7-openssl php7-pdo php7-pdo_mysql php7-session php7-mbstring php7-bcmath php7-tokenizer php7-fileinfo +RUN apk add --no-cache php7-curl php7-dom php7-gd php7-ctype php7-zip php7-xml php7-xmlreader php7-xmlwriter php7-iconv php7-sqlite3 php7-mysqli php7-pgsql php7-json php7-phar php7-openssl php7-pdo php7-pdo_mysql php7-session php7-mbstring php7-bcmath php7-tokenizer php7-fileinfo # symblink php7 to php RUN ln -sf /usr/bin/php7 /usr/bin/php