Skip to content

A basic minimal debian based docker container with a specific Ruby installed

Notifications You must be signed in to change notification settings

timelinelabs/docker-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker - Ruby

Docker Repository on Quay.io

A minimal debian based Docker container with Ruby and Bundler installed.

Version tags are based off the installed Ruby version

Reasoning

Before the official language stacks most 'language' images just had too much junk in them. I wanted something small(ish) and basic. The language stacks are awesome, no doubt, however I found that we still needed to install a bunch of things for our gems and I wanted to use arbitrary Ruby versions. So, there you have it.

Usage

Edit the Dockerfile to use the version of Ruby you need.

Build the container, and tag it with the Ruby version

$ docker build -t='yourname/ruby:_version_'

Set up your Dockerfile to use this image

# in your Dockerfile
FROM yourname/ruby:_version_
...

Then build away!

About

A basic minimal debian based docker container with a specific Ruby installed

Resources

Stars

Watchers

Forks

Packages

No packages published