Public Repository

Last pushed: 2 years ago
Short Description
Rails 4.2.1 docker
Full Description

FROM ubuntu:14.04

RUN apt-get -y update

RUN DEBIAN_FRONTEND=noninteractive apt-get install -y git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties libffi-dev

RUN DEBIAN_FRONTEND=noninteractive apt-get install -y libgdbm-dev libncurses5-dev automake libtool bison libffi-dev

RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3

RUN \curl -sSL https://get.rvm.io | bash -s stable
RUN /bin/bash -l -c "rvm install 2.2.2"

RUN /bin/bash -l -c "rvm use 2.2.2" --default

RUN echo "gem: --no-ri --no-rdoc" > ~/.gemrc

RUN /bin/bash -l -c "gem install bundler"

RUN DEBIAN_FRONTEND=noninteractive apt-get install -q -y nodejs

RUN /bin/bash -l -c "gem install rails -v 4.2.1"

Docker Pull Command
Owner
thiagobleao

Comments (0)