Public | Automated Build

Last pushed: a year ago
Short Description
An image with rbenv, intended for use as a Gitlab-CI runner. Fork of tcnksm/rbenv
Full Description

Dockerfile-rbenv

A separately maintained fork of tcnksm/dockerfile-rbenv. Do not expect upstream features to be integrated.

Usage

bbriggs/rbenv on the Docker Hub Registry

docker run -i -t bbriggs/rbenv bash -l -c 'rbenv global 2.0.0-p353; bundle ...'

Build your own rbenv image

You can build your own rbenb-image with your preferred version of ruby. You can define which ruby verion you want to use in versions.txt.

$ docker build -t <TAG> .

Dockerfile build steps

  1. Pull base image
  2. Install Ruby prerequisites
  3. Clone rbenv
  4. Clone ruby-build
  5. Install multiple versions of Ruby, defined at versions.txt
  6. Install Bundler for each version

Reference

See more

Now DockerHub has its official language stack, so you should see ruby Repository.

Original Author

tcnksm

Docker Pull Command
Owner
bbriggs
Source Repository

Comments (0)