Public Repository

Last pushed: 2 years ago
Short Description
Debian-based Docker image containing stable versions of Ruby, RubyGems and Bundler.
Full Description

Debian-based Docker image containing stable versions of Ruby, RubyGems and Bundler.

The version of Ruby in this image has been compiled from source and every effort has been made to keep the image size as small as possible

This repository provides different images for different versions of Ruby. The list below shows available Ruby versions along with the image size and all of the image tags which may be referenced:

The Dockerfiles for all of the images can be found in the centurylinklabs/ruby-base-image repo on GitHub.

This image can be used as the base for your Ruby application by referencing this
image in the FROM line of your Dockerfile:

FROM centurylink/ruby-base:2.1.2

It can also be used as an interactive Ruby environment by simply running the image with the -it flags:

docker run -it centurylink/ruby-base:2.1.2
irb(main):001:0> RUBY_VERSION
=> "2.1.2"
irb(main):002:0> 

Why doesn't this repo use Automated Builds?

The Docker Hub's Automated Builds feature is a little clunky when you have a repo like this with many images and lots of different tags for those images. It is possible to set-up, but any time you want to add a new tag you have to trigger a new build for all the tags. We found it was more efficient to simply build our images locally and push them up to the Hub. Note that none of Docker's "official" repos use the automated build feature -- we suspect it's for the same reason.

Docker Pull Command
Owner
centurylink

Comments (0)