Sign inSign up

bbriggs/rbenv

By bbriggs

Updated over 10 years ago

An image with rbenv, intended for use as a Gitlab-CI runner. Fork of tcnksm/rbenv

Image
2

1.1K

bbriggs/rbenv repository overview

Dockerfile-rbenv MIT License

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

Tag summary

Content type

Image

Digest

Size

265.1 MB

Last updated

over 10 years ago

docker pull bbriggs/rbenv