Created
November 13, 2015 22:55
-
-
Save kevinrobinson/b4b583a014f12dcbb6ae to your computer and use it in GitHub Desktop.
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 ruby:2.2 | |
# see update.sh for why all "apt-get install"s have to stay as one long line | |
RUN apt-get update && apt-get install -y nodejs --no-install-recommends && rm -rf /var/lib/apt/lists/* | |
# see http://guides.rubyonrails.org/command_line.html#rails-dbconsole | |
RUN apt-get update && apt-get install -y mysql-client postgresql-client sqlite3 --no-install-recommends && rm -rf /var/lib/apt/lists/* | |
ENV RAILS_VERSION 4.2.5 | |
RUN gem install rails --version "$RAILS_VERSION" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment