|
|
|
@ -19,7 +19,7 @@ RUN chown deploy:deploy /var/lib/dav/
@@ -19,7 +19,7 @@ RUN chown deploy:deploy /var/lib/dav/
|
|
|
|
|
|
|
|
|
|
# apache should run as user deploy |
|
|
|
|
RUN sed -i.bak -r 's/(User|Group) apache/\1 deploy/' /etc/apache2/httpd.conf |
|
|
|
|
run set -i.bak 's/#ServerName www.example.com:80/ServerName svn.cpi.imtek.uni-freiburg.de:8080/' /etc/apache2/httpd.conf |
|
|
|
|
RUN sed -i.bak 's/#ServerName www.example.com:80/ServerName svn.cpi.imtek.uni-freiburg.de:8080/' /etc/apache2/httpd.conf |
|
|
|
|
|
|
|
|
|
# copy the script to run httpd in foreground |
|
|
|
|
COPY httpd-foreground /usr/local/bin/ |
|
|
|
|