Browse Source

added inplace option to sed

main
Holger Frey 3 years ago
parent
commit
2aa4cb637a
  1. 2
      Dockerfile
  2. 1
      dav_svn.conf

2
Dockerfile

@ -18,7 +18,7 @@ RUN mkdir /var/lib/dav/ @@ -18,7 +18,7 @@ RUN mkdir /var/lib/dav/
RUN chown deploy:deploy /var/lib/dav/
# apache should run as user deploy
RUN sed -r 's/(User|Group) apache/\1 deploy/' /etc/apache2/httpd.conf > /etc/apache2/httpd.conf
RUN sed -i .bak -r 's/(User|Group) apache/\1 deploy/' /etc/apache2/httpd.conf
RUN openrc
RUN touch /run/openrc/softlevel

1
dav_svn.conf

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
LoadModule dav_svn_module /usr/lib/apache2/mod_dav_svn.so
LoadModule authz_svn_module /usr/lib/apache2/mod_authz_svn.so
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
<VirtualHost 127.0.0.1:8000>
<Location />

Loading…
Cancel
Save