diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2018-02-21 21:11:45 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2018-02-21 21:11:45 +0100 |
commit | dfe9895825ffbab23d9e8925b28282206d6678f8 (patch) | |
tree | afc37c4494c09090fca030b94c540e19211fba9b /adei/Dockerfile | |
parent | 0f86d4f7d5b0bb2c64d8adefa4dd93a2a5506c11 (diff) | |
download | adei-dfe9895825ffbab23d9e8925b28282206d6678f8.tar.gz adei-dfe9895825ffbab23d9e8925b28282206d6678f8.tar.bz2 adei-dfe9895825ffbab23d9e8925b28282206d6678f8.tar.xz adei-dfe9895825ffbab23d9e8925b28282206d6678f8.zip |
Move pid file to /tmp folder
Diffstat (limited to 'adei/Dockerfile')
-rw-r--r-- | adei/Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/adei/Dockerfile b/adei/Dockerfile index 523e3c5..8ecaa2e 100644 --- a/adei/Dockerfile +++ b/adei/Dockerfile @@ -18,7 +18,6 @@ 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,11 +39,13 @@ RUN /opt/scripts/configure.sh 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 && \ find /etc/apache2 -type d -exec chmod +rx '{}' \; && \ chmod -R +r /etc/apache2 && \ mv /etc/apache2 /opt/ && \ ln -s /adei/ovr/apache2 /etc/apache2 && \ + sed -i'' -re 's@/var/run@/tmp@' /usr/sbin/start_apache2 && \ chmod +x /usr/sbin/start_apache2 ENV MYSQL_SERVER adei-mysql |