Gitolite in a box!
This image is a base gitolite image. It's designed to be secure, robust, easily extensible and upgradeable.
Usage
There are two ways you can use this image: directly, and by "inheriting" it in another container/Dockerfile.
Using it directly involves replacing admin.pub and rebuilding it. I don't think this is the most awesome of ideas, so this is the last I'll mention it.
Dockerfile
First, create a ...for your own image, extending this one.
Something like:
FROM rsrchboy/gitolite-base:latest
MAINTAINER Hi There <me@foo.org>
Note you can make whatever other changes you desire at this point, but at a minimum this is all you need to do to create a custom image with your ssh public key pre-populated.
Add your ssh public key
Replace admin.pub with an ssh public key of your choice; this will become the administrator's key.
Profit!
Enjoy. Ideas / bugs / suggestions? Please use github to submit issues or pull requests.
Author and License
Copyright (c) 2014 by Chris Weyl chris.weyl@wps.io.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Please note I do not expect to be gittip'ed or flattr'ed for this work, but it is rather a very pleasant surprise. I largely create and release works like this because I need them or I find it enjoyable; however, don't let that stop you giving me money if you feel like it ;)
Changes
Sun Apr 13 15:02:25 PDT 2014
No image changes. Add a formal license declaration; add a flattr link; minor doc fixups.
Wed Apr 9 22:10:59 PDT 2014
Rebuild to ensure we're using the latest openssl packages (re: CVE-2014-0160), if any.