A lightweight version of a Rails container running on an Alpine Linux based Ruby container.
545
This Docker container image build is designed to produce a lightweight Ruby-on-Rails Docker container. It's based on an Alpine Linux version of the official Ruby container. The resulting container image should be about half the size of the official Rails container. The Dockerfile sets up the necessary libraries needed to install Rails and its dependencies, but does not actually install Rails. It is designed to be used as a parent Docker file for your Rails application. This approach keeps the container smaller and will only bundling in the Ruby Gems specified by your Rails application.
The steps for using this container are as follows:
Example Dockerfiles that can be included in your Rails application are shown below:
TBD
Content type
Image
Digest
Size
201.3 MB
Last updated
over 10 years ago
docker pull alim/alpine-rails