Skip to content

Instantly share code, notes, and snippets.

@hdemon
Created January 29, 2014 07:36
Show Gist options
  • Select an option

  • Save hdemon/8683403 to your computer and use it in GitHub Desktop.

Select an option

Save hdemon/8683403 to your computer and use it in GitHub Desktop.
FROM ubuntu
MAINTAINER Masami Yonehara
RUN apt-get update -y
RUN apt-get upgrade -y
RUN apt-get install -y \
sudo \
man-db \
wget \
git \
nano \
curl \
net-tools \
patch \
gcc \
g++ \
openssl \
make \
bzip2 \
autoconf \
automake \
libtool \
bison \
build-essential \
libreadline6 \
libreadline-dev \
zlib1g \
zlib1g-dev \
libssl-dev \
libyaml-dev \
libxml2-dev \
libxslt1.1 \
libxslt1-dev
# install ruby
RUN git clone https://github.com/sstephenson/ruby-build.git;\
cd ruby-build;\
sudo ./install.sh
RUN ruby-build 2.1.0 ~/ruby-2.1.0
RUN apt-get install rubygems -y
RUN gem install rubygems-update && update_rubygems
RUN gem install bundler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment