1
0
mirror of https://github.com/rlister/dockerfiles.git synced 2025-12-12 17:26:15 +00:00

ruby 2.0.0 and 2.1.2

This commit is contained in:
Richard Lister
2014-06-25 10:26:27 -04:00
parent 5ebf7b4685
commit 438e21511d
2 changed files with 28 additions and 0 deletions

14
ruby/2.0.0/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
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.0/ruby-2.0.0-p481.tar.gz /tmp/
RUN tar -zxf /tmp/ruby-2.0.0-p481.tar.gz && \
(cd ruby-2.0.0-p481 && ./configure --disable-install-doc && make install) && \
rm -rf /tmp/ruby-2.0.0-p481.tar.gz && rm -rf ruby-2.0.0-p481
RUN gem install bundler --no-rdoc --no-ri

14
ruby/2.1.2/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
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.2.tar.gz /tmp/
RUN tar -zxf /tmp/ruby-2.1.2.tar.gz && \
(cd ruby-2.1.2 && ./configure --disable-install-doc && make install) && \
rm -rf /tmp/ruby-2.1.2.tar.gz && rm -rf ruby-2.1.2
RUN gem install bundler --no-rdoc --no-ri