A separately maintained fork of tcnksm/dockerfile-rbenv. Do not expect upstream features to be integrated.
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
$ docker build -t <TAG> .
Dockerfile build steps
- Pull base image
- Install Ruby prerequisites
- Clone rbenv
- Clone ruby-build
- Install multiple versions of Ruby, defined at
- Install Bundler for each version
Now DockerHub has its official language stack, so you should see ruby Repository.