Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

rubygems-mirror-docker

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

Usage

Before starting gem server, it needs to fetch packages from rubygems to mirror directory.
Create data container first to make 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 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
Docker Pull Command
Owner
mookjp
Source Repository