fix php open_basedir
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-07-22 09:04:56 +02:00
parent 305893a0bb
commit cfe0a52f65

View File

@ -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/ /