Skip to content

lvillis/svn-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🇺🇸 English · 🇨🇳 中文       |      Table of Contents ↗️

svn-docker

🐳 Minimal, elegant Docker image for running Apache Subversion's svnserve.

Repo Size  CI  Say Thanks


✨ 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

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

curl -fsSL -o docker-compose.yaml https://raw.githubusercontent.com/lvillis/svn-docker/main/docker-compose.yaml
docker-compose up -d

About

🐳 svn-docker Minimal, elegant Docker image for running Apache Subversion's svnserve.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors