1
0
mirror of https://github.com/rlister/dockerfiles.git synced 2025-12-13 09:46:19 +00:00
Files
rlister-dockerfiles/ruby/2.1.4/Dockerfile
Richard Lister 0c47d303d2 add 2.1.4
2014-11-12 15:02:04 -05:00

15 lines
463 B
Docker

FROM debian:jessie
MAINTAINER Ric Lister, rlister@gmail.com
RUN apt-get update && apt-get install -y \
build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
ADD http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.4.tar.gz /tmp/
RUN tar -zxf /tmp/ruby-2.1.4.tar.gz && \
(cd ruby-2.1.4 && ./configure --disable-install-doc && make install) && \
rm -rf /tmp/ruby-2.1.4.tar.gz && rm -rf ruby-2.1.4
RUN gem install bundler --no-rdoc --no-ri