Docker container with SVN & LDAP support
To run this container
docker run -d -v data:/svn -v config:/config -p 80:80 aviationcode/subversion:latest
docker exec -it my_container /bin/bash
$ svnadmin create /svn/your_new_repo
data is used to store your SVN repository
config/apache contains optional configuration for apache. For example you could add all your ldap permissions here
config/apache/website.conf
<Location /svn/website>
DAV svn
SVNPath /svn/website
AuthType Basic
AuthBasicProvider ldap
AuthName "svn repository"
AuthLDAPURL "ldap://ldap/ou=user,dc=acme?uid?sub?(objectClass=Person)"
AuthLDAPBindAuthoritative on
AuthLDAPSearchAsUser on
AuthLDAPCompareAsUser on
<RequireAll>
Require valid-user
<RequireAny>
Require ldap-group cn=developers,ou=group,dc=acme
</RequireAny>
</RequireAll>
</Location>
/etc/cron.d this gives the abilty to add cron jobs to this container
LDAP to AUTHZ you might want to use this to generate authz files