Just subversion client executable from container where svn command can not be installed.
2.4K
Just subversion client executable from container where svn command can not be installed.
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.
Content type
Image
Digest
Size
5.2 MB
Last updated
about 6 years ago
docker pull profiprog/svn