|
|
@ -12,6 +12,7 @@ RUN apt-get update && apt-get upgrade -y |
|
|
|
|
|
|
|
|
|
|
|
# install required packages |
|
|
|
# install required packages |
|
|
|
RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y apache2 apache2-utils libapache2-mod-svn subversion |
|
|
|
RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y apache2 apache2-utils libapache2-mod-svn subversion |
|
|
|
|
|
|
|
RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y vim curl lsof |
|
|
|
|
|
|
|
|
|
|
|
# add svn configuration |
|
|
|
# add svn configuration |
|
|
|
ADD dav_svn.conf /etc/apache2/sites-enabled/dav_svn.conf |
|
|
|
ADD dav_svn.conf /etc/apache2/sites-enabled/dav_svn.conf |
|
|
@ -24,7 +25,7 @@ RUN mkdir /var/lib/dav/ |
|
|
|
#RUN sed -i.bak -r 's/(User|Group) apache/\1 deploy/' /etc/apache2/apache2.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/apache2.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/apache2.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/apache2.conf |
|
|
|
RUN sed -i.bak 's/Listen 80/Listen 80\nListen 8000/' /etc/apache2/ports.conf |
|
|
|
#RUN sed -i.bak 's/#LoadModule deflate_module/LoadModule deflate_module/' /etc/apache2/apache2.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/apache2.conf |
|
|
|
#RUN sed -i.bak 's/#LoadModule logio_module/LoadModule logio_module/' /etc/apache2/apache2.conf |
|
|
|
|
|
|
|
|
|
|
|