Holger Frey
3 years ago
2 changed files with 28 additions and 0 deletions
@ -0,0 +1,9 @@
@@ -0,0 +1,9 @@
|
||||
FROM alpine/latest |
||||
|
||||
RUN echo "http://dl-cdn.alpinelinux.org/alpine/v3.10/community" >> /etc/apk/repositories |
||||
|
||||
# install required packages |
||||
#RUN apk add --no-cache gcc libc-dev libffi-dev openssl openssl-dev python3-dev |
||||
RUN apk add --no-cache apache2 apache2-utils apache2-webdav mod_dav_svn subversion |
||||
|
||||
ADD dav_svn.conf /etc/apache2/conf.d/dav_svn.conf |
@ -0,0 +1,19 @@
@@ -0,0 +1,19 @@
|
||||
LoadModule dav_svn_module /usr/lib/apache2/mod_dav_svn.so |
||||
LoadModule authz_svn_module /usr/lib/apache2/mod_authz_svn.so |
||||
|
||||
<VirtualHost 127.0.0.1:8000> |
||||
<Location /> |
||||
DAV svn |
||||
SVNParentPath /data |
||||
SVNListParentPath On |
||||
|
||||
SVNAutoversioning on |
||||
ModMimeUsePathInfo on |
||||
|
||||
AuthType Basic |
||||
AuthName "svn" |
||||
AuthUserFile /data/.htpasswd |
||||
AuthzSVNAccessFile /data/authz |
||||
Require valid-user |
||||
</Location> |
||||
</VirtualHost> |
Loading…
Reference in new issue