Public Repository

Last pushed: 2 years ago
Short Description
Base image for Precise tools. Includes Ruby 2.2, RubyGems, Bundler, FPM, Python 2.7, Pip, Virtualenv
Full Description

FROM ubuntu:12.04.5
MAINTAINER Saurabh Hirani saurabh.hirani@gmail.com
ENV DEBIAN_FRONTEND=noninteractive

ENV RUBY_VERSION=2.2

RUN apt-get update \
&& apt-get install -y make build-essential autoconf vim htop curl git \
&& apt-get install -y libtool libsnappy1 libsnappy-dev libxml2-dev libxslt1-dev \
&& apt-get install -y software-properties-common python-software-properties \
&& apt-add-repository -y ppa:brightbox/ruby-ng \
&& apt-get update \
&& apt-get install -y "ruby${RUBY_VERSION}" "ruby${RUBY_VERSION}-dev" \
&& apt-get install -y ruby-switch \
&& ruby-switch --set "ruby${RUBY_VERSION}" \
&& gem install --no-rdoc --no-ri fpm bundler json minitest rake snappy \
&& gem install --no-rdoc --no-ri dep-selector-libgecode -v 1.1.0 \
&& gem install --no-rdoc --no-ri eventmachine -v 1.0.4 \
&& apt-get install -y python-setuptools \
&& easy_install pip \
&& pip install virtualenv \
&& apt-get autoremove --purge \
&& apt-get autoclean \
&& apt-get clean \
&& rm -rf /tmp/ /var/lib/apt/lists/

CMD [ "ruby", "-v" ]

Docker Pull Command
Owner
shirani