Skip to content

mookjp/rubygems-mirror-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rubygems-mirror-docker

Docker image of rubygems-mirror. This image includs rubygems-mirror and geminabox as a server.

Usage

Before starting the gem mirror server, it needs to fetch packages from rubygems to mirror directory. Create data container first to make the gem packages portable.

docker create --name gems-data -v /data/rubygems busybox
# Fetch packages to data only container
docker run -d --volumes-from gems-data mookjp/rubygems-mirror-docker gem mirror

then run the server as your mirror.

docker run -d --volumes-from gems-data -p 9292 mookjp/rubygems-mirror-docker

Set your mirror

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

About

Docker image of rubygems-mirror

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages