https://github.com/lvillis/svn-docker
🐳 svn-docker Minimal, elegant Docker image for running Apache Subversion's svnserve.
https://github.com/lvillis/svn-docker
docker subversion svn svn-docker svnserve svnserve-docker
Last synced: 4 months ago
JSON representation
🐳 svn-docker Minimal, elegant Docker image for running Apache Subversion's svnserve.
- Host: GitHub
- URL: https://github.com/lvillis/svn-docker
- Owner: lvillis
- Created: 2025-12-16T09:04:30.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-12-30T06:23:55.000Z (6 months ago)
- Last Synced: 2026-01-02T16:42:25.784Z (6 months ago)
- Topics: docker, subversion, svn, svn-docker, svnserve, svnserve-docker
- Language: Dockerfile
- Homepage:
- Size: 30.3 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
🇺🇸 English ·
🇨🇳 中文 | Table of Contents ↗️
svn-docker
🐳 Minimal, elegant Docker image for running Apache Subversion's svnserve.
[](https://github.com/lvillis/svn-docker)
[](https://github.com/lvillis/svn-docker/actions)
[](mailto:lvillis@outlook.com?subject=Thanks%20for%20svn-docker!)
---
## ✨ Features
| Feature | Description |
|---|---|
| Multi-stage build | Builds Subversion from source (default 1.14.5) and copies only runtime files to a slim image to reduce final image size. |
| Small runtime image | Only runtime libraries are included to minimize image footprint. |
| Tiny init (`tino`) | Uses a minimal init (`/sbin/tino`) as PID 1 for proper signal handling and reaping. |
| Healthcheck | Verifies `svnserve` is running by checking the pid file `/run/svnserve.pid`. |
| Data persistence | Repositories are stored under `/opt/app/svn/data`; mount a host volume for persistence. |
| CI & multi-arch | GitHub Actions builds multi-architecture images and pushes to GHCR. Tags include `latest`, commit SHA and extracted Subversion version. |
| Configurable version | Change the Subversion version by editing the download URL in the `Dockerfile` (e.g. `subversion-1.14.5.tar.bz2`). |
## Usage
### Docker
```bash
docker run -d --name svn -p 3690:3690 \
-v ./data:/opt/app/svn/data \
--restart unless-stopped \
ghcr.io/lvillis/svn:1.14.5
```
### Docker Compose
```bash
curl -fsSL -o docker-compose.yaml https://raw.githubusercontent.com/lvillis/svn-docker/main/docker-compose.yaml
docker-compose up -d
```