Public Repository

Last pushed: 2 years ago
Short Description
Latest Ruby + bundler on Ubuntu. Image size is a lot smaller than CentOS.
Full Description

Dockerfile

FROM ubuntu

RUN apt-get update \
    && apt-get install -y build-essential wget curl git \
       zlib1g-dev libssl-dev libreadline-dev libyaml-dev libxml2-dev libxslt-dev \
       sqlite3 libsqlite3-dev \
    && apt-get clean

RUN curl --progress http://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.2.tar.gz | tar xz && \
    cd ruby-2.1.2 && \
    ./configure --disable-install-doc && \
    make -j2 && make install && \
    cd .. && rm -rf ruby-2.1.2*

RUN echo 'gem: --no-rdoc --no-ri' > /.gemrc && \
    gem update --system && \
    gem install bundler
Docker Pull Command
Owner
nkwhr

Comments (0)