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
Your repositories should go to the last. A sample configuration for Apache looks like this:
LoadModule dav_module /usr/lib/apache2/mod_dav.so
LoadModule dav_svn_module /usr/lib/apache2/mod_dav_svn.so
LoadModule authz_svn_module /usr/lib/apache2/mod_authz_svn.so
<Directory /var/svn>
require all granted
</Directory>
<Location /svn>
DAV svn
SVNParentPath /var/svn
AuthType Basic
AuthName "SVN Authorization"
AuthUserFile "/var/svn/.htpasswd"
Require valid-user
</Location>
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
Enjoy
Content type
Image
Digest
Size
8.6 MB
Last updated
about 9 years ago
docker pull sturm88x4/svn-server