summaryrefslogtreecommitdiffstats
path: root/adei/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'adei/Dockerfile')
-rw-r--r--adei/Dockerfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/adei/Dockerfile b/adei/Dockerfile
index ab38acf..523e3c5 100644
--- a/adei/Dockerfile
+++ b/adei/Dockerfile
@@ -18,6 +18,7 @@ RUN zypper ar http://download.opensuse.org/repositories/home:/csa7fff:/adei/open
zypper -n in make java && \
zypper -n in adei adei-config-default adei-req-mssql adei-webroot
+VOLUME /var/run
VOLUME /var/log/apache2
VOLUME /var/spool/mail
@@ -40,8 +41,11 @@ RUN rm -rf /srv/www/htdocs/adei && \
ln -s /adei/src /srv/www/htdocs/adei
RUN ln -sf /etc/mime.types /etc/apache2/mime.types && \
+ find /etc/apache2 -type d -exec chmod +rx '{}' \; && \
+ chmod -R +r /etc/apache2 && \
mv /etc/apache2 /opt/ && \
- ln -s /adei/ovr/apache2 /etc/apache2
+ ln -s /adei/ovr/apache2 /etc/apache2 && \
+ chmod +x /usr/sbin/start_apache2
ENV MYSQL_SERVER adei-mysql
ENV MYSQL_PORT 3306