Dockerfile to prepare image which is installed muliple versions of ruby
586
Dockerfile to prepare image which is installed muliple versions of ruby and bundler for each versions.
tcnksm/rbenv Repository | Docker Hub Registry - Repositories of Docker Images
You can use this image for your project soon. It is installed ruby 1.8.7-p371, 1.9.3-p392, 2.0.0-p353:
docker run -i -t tcnksm/rbenv bash -l -c 'rbenv global 2.0.0-p353; bundle ...'
You can build your own rbenb-image with favor versions of ruby. You can define ruby verion which you want to use in versions.txt.
$ docker build -t <TAG> .
Dockerfile execute belows;
versions.txtNow DockerHub has its official language stack, so you should see ruby Repository.
No tags have been pushed to this repository yet.