Base http Docker image to install subversion and configure Apache
docker-compose up -d
docker-compose.yaml as below:
version: '3'
services:
svn:
container_name: svn
image: bxwill/svn:1.10
ports:
- 80:80
- 443:443
- 3690:3690
volumes:
- ./repos:/var/repos
Init Repository:
cd /var/repos
svnadmin create <REPO_NAME>
Add/Modify username and password:
cd <REPO_NAME>/conf
vim authz # add username
vim passwd # set password
vim svnserve.conf # Enable password-db = passwd
Svn repo <REPO_NAME> works: svn://127.0.0.1/<REPO_NAME>
Execute svn command:
svn checkout svn://127.0.0.1/<REPO_NAME> --username <SVN_NAME> --password <SVN_PASSWD>
Svn web URL: http://127.0.0.1/svn/<REPO_NAME>
Default username is admin and password is opendevops
Content type
Image
Digest
Size
79.8 MB
Last updated
about 5 years ago
docker pull bxwill/svn:1.10