Dockerfile to build a base container image for Rails projects. Installs and configures git, nodejs, rbenv, ruby-build, bundler and supporting libraries like curl, ssl, readline, yaml, xml and xslt.
The current release (4.1.5.20140915) contains scripts to install dependencies for Ruby on Rails 4.1.5 using Ruby 2.1.2p95. You can howver specify alternative ruby versions in the rubies.txt
file (one ruby version per line) and these versions will be installed and bundler will be setup for each version. Our version numbers will reflect the version of Rails being installed.
This repository is intended to be used as a base layer for Rails projects. To specify this as a base, just include the FROM
key in the Dockerfile of your Rails project. For example:
FROM brightcommerce/rails:4.1.5.20140915
This installation exposes port 80
.
Specifies each version of ruby to be installed by adding them to the rubies.txt
file, one per line. Bundler will be installed for each version of ruby specified. By default this repository only specifies one version of ruby which is currently 2.1.2p95
.
Copyright 2014 Brightcommerce, Inc.