Browse Source

trying to get rid of segfault, changing to ubuntu

main
Holger Frey 3 years ago
parent
commit
e326d06f86
  1. 12
      Dockerfile

12
Dockerfile

@ -21,12 +21,12 @@ RUN mkdir /var/lib/dav/
#RUN chown deploy:deploy /var/lib/dav/ #RUN chown deploy:deploy /var/lib/dav/
# apache should run as user deploy # apache should run as user deploy
#RUN sed -i.bak -r 's/(User|Group) apache/\1 deploy/' /etc/apache2/httpd.conf #RUN sed -i.bak -r 's/(User|Group) apache/\1 deploy/' /etc/apache2/apache2.conf
RUN sed -i.bak 's/#ServerName www.example.com:80/ServerName svn.cpi.imtek.uni-freiburg.de:80/' /etc/apache2/httpd.conf RUN sed -i.bak 's/#ServerName www.example.com:80/ServerName svn.cpi.imtek.uni-freiburg.de:80/' /etc/apache2/apache2.conf
RUN sed -i.bak 's/LogLevel warn/LogLevel debug/' /etc/apache2/httpd.conf RUN sed -i.bak 's/LogLevel warn/LogLevel debug/' /etc/apache2/apache2.conf
RUN sed -i.bak 's/Listen 80/Listen 80\nListen 8000/' /etc/apache2/httpd.conf RUN sed -i.bak 's/Listen 80/Listen 80\nListen 8000/' /etc/apache2/apache2.conf
#RUN sed -i.bak 's/#LoadModule deflate_module/LoadModule deflate_module/' /etc/apache2/httpd.conf #RUN sed -i.bak 's/#LoadModule deflate_module/LoadModule deflate_module/' /etc/apache2/apache2.conf
#RUN sed -i.bak 's/#LoadModule logio_module/LoadModule logio_module/' /etc/apache2/httpd.conf #RUN sed -i.bak 's/#LoadModule logio_module/LoadModule logio_module/' /etc/apache2/apache2.conf
# copy the script to run httpd in foreground # copy the script to run httpd in foreground
COPY httpd-foreground /usr/local/bin/ COPY httpd-foreground /usr/local/bin/

Loading…
Cancel
Save