Server for Ruby Gems, also caching proxy and mirror, if you're into that sort of thing.
5.3K
Docker image providing rubygems-mirror and a gem server.
Create a data container, so the gem server itself can be redeployed easily:
docker create --name rubygems-data -v /srv/gems busybox
Run the server:
docker run -d --volumes-from rubygems-data -p 9292 colstrom/rubygems-server
Set your rubygems mirror by following:
bundle config mirror.http://rubygems.org http://0.0.0.0:9292
gem sources --add http://0.0.0.0:9292
To restrict access to your Gem Server, you can set two environment variables:
GITHUB_ORGANIZATION to the organization you want to restrict access to.If set, the Gem Server will require a valid GitHub token with org permissions, provided as a 'password' via HTTP Basic Auth.
If the user associated with the token is a member of the GITHUB_ORGANIZATION you set, that user will have access.
Content type
Image
Digest
sha256:123372d74…
Size
272.1 MB
Last updated
over 8 years ago
docker pull colstrom/rubygems-server