Skip to content

JeanMertz/docker-dind-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blendle/dind-ruby Build Status

Wrapper around the jpetazzo/dind Docker image.

This image has Ruby pre-installed. It also comes with the Bundler gem installed and sane Bundler configuration values.

Ruby version

The default Ruby version packaged in this image is 2.1.3.

ruby-install comes pre-installed in the image, so installing a new Ruby version is easy:

RUN ruby-install ruby 2.2.1

Note that PATH by default points to the default Ruby version. You can either install a ruby version manager (like chruby), or alter the path:

ENV PATH /opt/rubies/ruby-2.2.1/bin:$PATH

# PATH:
# - /opt/rubies/ruby-2.2.1/bin
# - /usr/local/sbin
# - /usr/local/bin
# - /usr/sbin
# - /usr/bin
# - /sbin
# - /bin
# - /opt/rubies/ruby-2.1.3/bin

Be sure to prepend the new path, or else the default Ruby version will take precedence.

License

MIT - see the accompanying LICENSE file for details.

About

Docker in Docker, with Ruby pre-installed

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages