Created
August 27, 2014 03:16
-
-
Save yaodong/8c219f23cb8adfceaffd to your computer and use it in GitHub Desktop.
dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:14.04 | |
MAINTAINER Yaodong Zhao | |
RUN apt-get install -y build-essential libssl-dev git nginx postgresql postgresql-contrib | |
RUN git clone https://github.com/sstephenson/rbenv.git .rbenv | |
RUN git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
ENV PATH ~/.rbenv/bin:~/.rbenv/bin:$PATH | |
RUN echo 'eval "$(rbenv init -)"' >> .bashrc | |
RUN rbenv install 2.1.2 | |
RUN rbenv global 2.1.2 | |
RUN gem install bundler --no-ri --no-rdoc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment