tsnow / docker-ruby

Ruby 2.1.2, Postgres 9.3 client, nginx, Node.js, supervisord, ImageMagick in a Docker image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ruby Dockerfile

A Dockerfile that builds:

  • MRI Ruby 2.1.2 + bundler gem (system-wide install)
  • Postgres 9.3 client and development headers
  • latest git binaries
  • latest nginx
  • latest Node.js binaries (for best execjs performance)
  • supervisord with an nginx config included
  • ImageMagick

A real app's Dockerfile should inherit from this image, add an application user, add a source checkout and bundle install, add a supervisord config for running the application code with puma or unicorn, etc.

License

MIT license.

About

Ruby 2.1.2, Postgres 9.3 client, nginx, Node.js, supervisord, ImageMagick in a Docker image

License:MIT License