Browse Source

first version of dockerfile

main
Holger Frey 3 years ago
parent
commit
bbc2966289
  1. 9
      Dockerfile
  2. 19
      dav_svn.conf

9
Dockerfile

@ -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

19
dav_svn.conf

@ -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…
Cancel
Save