Skip to content

Just subversion client executable from container where svn command can not be installed.

Notifications You must be signed in to change notification settings

profiprog/docker-svn-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Just subversion client executable from container where svn command can not be installed.

Usage

As svn script

#!/bin/bash
exec docker run --rm \
    -e UID="$(id -u)" -e GID="$(id -g)" -e SVN_USERNAME -e SVN_PASSWORD \
    -v "$(pwd):/workspace" -v "$HOME/.subversion:/home/user/.subversion" \
    profiprog/svn svn $@

or just as an alias

alias svn='docker run --rm -e UID="$(id -u)" -e GID="$(id -g)" -e SVN_USERNAME -e SVN_PASSWORD -v "$(pwd):/workspace" -v "$HOME/.subversion:/home/user/.subversion" profiprog/svn svn'

Whe SVN_USERNAME and SVN_PASSWORD environment variables are deffined subversion client automaticaly use them.

About

Just subversion client executable from container where svn command can not be installed.

Resources

Stars

Watchers

Forks

Packages

No packages published