Skip to content

Instantly share code, notes, and snippets.

@konklone
Created September 22, 2013 18:17
Show Gist options
  • Select an option

  • Save konklone/6662393 to your computer and use it in GitHub Desktop.

Select an option

Save konklone/6662393 to your computer and use it in GitHub Desktop.

Revisions

  1. konklone created this gist Sep 22, 2013.
    18 changes: 18 additions & 0 deletions Dockerfile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    FROM ubuntu
    MAINTAINER Eric Mill "eric@konklone.com"

    # turn on universe packages
    RUN echo "deb http://archive.ubuntu.com/ubuntu raring main universe" > /etc/apt/sources.list
    RUN apt-get update

    # basics
    RUN apt-get install -y nginx openssh-server git-core openssh-client curl
    RUN apt-get install -y nano
    RUN apt-get install -y build-essential
    RUN apt-get install -y openssl libreadline6 libreadline6-dev curl zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion pkg-config

    # install RVM, Ruby, and Bundler
    RUN \curl -L https://get.rvm.io | bash -s stable
    RUN /bin/bash -l -c "rvm requirements"
    RUN /bin/bash -l -c "rvm install 2.0"
    RUN /bin/bash -l -c "gem install bundler --no-ri --no-rdoc"