Based on jtgeibel/ruby-build-deps (which is based on ubuntu:14.04) with 2.3.0 and 1.8.7.
958
The code used to generate this repo can be found at https://github.com/jtgeibel/docker-ruby.
All of the rubies are stored under /opt/rubies. None of these rubies are on the PATH so you must specify the full path.
docker run -i -t jtgeibel/ruby /opt/rubies/2.3/bin/irb
Or you can add something like the following to your Dockerfile. This also assumes that you're deploying your application under the /srv/app folder.
ENV PATH /srv/app/bin:/srv/app/vendor/bundle/bin:/opt/rubies/2.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Content type
Image
Digest
sha256:392b9c666…
Size
279.6 MB
Last updated
over 10 years ago
docker pull jtgeibel/ruby