From bbc29662899693887a9bff958a8320fd44c13895 Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Fri, 20 Aug 2021 12:31:09 +0200 Subject: [PATCH] first version of dockerfile --- Dockerfile | 9 +++++++++ dav_svn.conf | 19 +++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 Dockerfile create mode 100644 dav_svn.conf diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..641fd1b --- /dev/null +++ b/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 \ No newline at end of file diff --git a/dav_svn.conf b/dav_svn.conf new file mode 100644 index 0000000..cc3a819 --- /dev/null +++ b/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 + + + + DAV svn + SVNParentPath /data + SVNListParentPath On + + SVNAutoversioning on + ModMimeUsePathInfo on + + AuthType Basic + AuthName "svn" + AuthUserFile /data/.htpasswd + AuthzSVNAccessFile /data/authz + Require valid-user + + \ No newline at end of file