summaryrefslogtreecommitdiffstats
path: root/adei/Dockerfile
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-08-29 04:16:46 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-08-29 04:16:46 +0200
commitbc1b77dc912adfd040d432972e2d3256c9ea2065 (patch)
treef626ac78baedf7632e1e541510db4e7bebb13576 /adei/Dockerfile
parent220ee7f28ca97e31c2f2d9aa8851ca4172ce0a68 (diff)
downloadadei-bc1b77dc912adfd040d432972e2d3256c9ea2065.tar.gz
adei-bc1b77dc912adfd040d432972e2d3256c9ea2065.tar.bz2
adei-bc1b77dc912adfd040d432972e2d3256c9ea2065.tar.xz
adei-bc1b77dc912adfd040d432972e2d3256c9ea2065.zip
Fix new problem with access permissions of PhP configuration folder
Diffstat (limited to 'adei/Dockerfile')
-rw-r--r--adei/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/adei/Dockerfile b/adei/Dockerfile
index b7e5762..0428a08 100644
--- a/adei/Dockerfile
+++ b/adei/Dockerfile
@@ -40,7 +40,8 @@ RUN rm -rf /srv/www/htdocs/adei && \
ln -s /adei/src /srv/www/htdocs/adei
# Modify for non-priviledged mode
-RUN ln -sf /etc/mime.types /etc/apache2/mime.types && \
+RUN chmod +rx /etc/php5/conf.d && \
+ ln -sf /etc/mime.types /etc/apache2/mime.types && \
find /etc/apache2 -type d -exec chmod +rx '{}' \; && \
chmod -R +r /etc/apache2 && \
chmod a+w /etc/apache2/listen.conf && \