From cfe0a52f65981b17144418432007d17b91e203ae Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 22 Jul 2019 09:04:56 +0200 Subject: [PATCH] fix php open_basedir --- Dockerfile.linux.amd64 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile.linux.amd64 b/Dockerfile.linux.amd64 index 54af85a..8201095 100644 --- a/Dockerfile.linux.amd64 +++ b/Dockerfile.linux.amd64 @@ -23,7 +23,13 @@ RUN apk --update add --virtual .build-deps tar curl && \ curl -SsL -o /etc/php7/browscap.ini https://browscap.org/stream?q=Lite_PHP_BrowsCapINI && \ apk del .build-deps && \ rm -rf /var/cache/apk/* && \ - rm -rf /tmp/* + rm -rf /tmp/* && \ + mkdir -p /var/lib/php/tmp_upload && \ + mkdir -p /var/lib/php/soap_cache && \ + mkdir -p /var/lib/php/session && \ + chown -R nginx:nginx /var/lib/php/tmp_upload && \ + chown -R nginx:nginx /var/lib/php/soap_cache && \ + chown -R nginx:nginx /var/lib/php/session ADD overlay/ /