git-server-docker-stagit

git-server-with-stagit
git clone git://git.andersuno.nu/git-server-docker-stagit.git
Log | Files | Refs | README

commit 9da9eac63f7b35d1201e5457518fe9dc2bd36466
parent 7dda3845ee4babc224a5dc56822862c9b0e141a6
Author: Akuario <jkarlos.b@gmail.com>
Date:   Wed, 27 Jul 2016 23:39:56 +0200

Adding versions to apk packages
Modifies Readme

Diffstat:
MREADME.md | 10++--------
Mstart.sh | 2+-
2 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/README.md b/README.md @@ -1,5 +1,5 @@ # git-server-docker -Git Server in Docker with Alpine Linux +A lightweight Git Server Docker image built with Alpine Linux. Available on [GitHub](https://github.com/jkarlosb/git-server-docker). ### Basic Usage @@ -9,7 +9,7 @@ How to make the image: How to run the container in port 2222 with two volumes, keys volumen for public keys and repos volume for git repositories: - $ docker run -d -p 2222:22 -v /Users/carlos/git-server/keys:/git-server/keys -v /Users/carlos/git-server/repos:/git-server/repos git-server-docker + $ docker run -d -p 2222:22 -v /Users/carlos/git-server/keys:/git-server/keys -v /Users/carlos/git-server/repos:/git-server/repos jkarlos/git-server-docker How check that container works: @@ -18,9 +18,3 @@ How check that container works: How clone a repository: $ git clone ssh://git@<ip-docker-server>:2222/git-server/repos/myrepo.git - - - - - - diff --git a/start.sh b/start.sh @@ -4,7 +4,7 @@ cd /home/git # Si hay alguna clave pública en la carpeta de keys if [ "$(ls -A /git-server/keys/)" ]; then - cat /git-server/keys/*.pub >> .ssh/authorized_keys + cat /git-server/keys/*.pub > .ssh/authorized_keys chown -R git:git .ssh chmod 700 .ssh chmod -R 600 .ssh/*