Public Repository

Last pushed: a year ago
Short Description
SVN Server as a Container
Full Description

Here you will find a 20MB SVN Server, which is intended to be used behind a reverse Proxy through web. The Image is based on Alpine Linux and is very small.
It does intentionally not publish any ports, the SVN Server is not even SSL enabled itself.
Volumes are

  • "/etc/apache2/conf.d",
  • "/var/log/apache2",
  • "/var/svn"

Your repositories should go to the last.
A sample configuration for Apache looks like this:

LoadModule dav_module           /usr/lib/apache2/
LoadModule dav_svn_module     /usr/lib/apache2/
LoadModule authz_svn_module   /usr/lib/apache2/
<Directory /var/svn>
        require all granted
<Location /svn>
DAV svn
SVNParentPath /var/svn
AuthType Basic
AuthName "SVN Authorization"
AuthUserFile "/var/svn/.htpasswd"
Require valid-user

a bash Shell is included which enables you to use svn command line Tools from inside the Container.

Docker file

From alpine:latest
RUN apk update; \
apk upgrade; \
apk add mod_dav_svn apache2-webdav apache2 bash bash-completion subversion; \
mkdir /run/apache2
VOLUME /var/svn /etc/apache2/conf.d /var/log/apache2
CMD  httpd -f /etc/apache2/httpd.conf -D FOREGROUND  -k start


Docker Pull Command