Self explanatory, ruby build on top of nodejs and alpine image
This will be a great base image for people working with rails applications. You could get away from using therubyracer gem by using a pre-built nodejs for the javascript V8 engine.
Hope this will help others in the future.
When you install gems, there are gems with specific native dependencies.
You have to add the respective alpine package before installing the respective gems.
apk --update add ${packages}
The few known dependencies are:
- ffi: libffi-dev
- nokogiri: libxml2 libxslt libxml2-dev libxslt-dev
- rmagick: imagemagick imagemagick-dev
- raindrops: linux-headers
- pg: postgresql-client postgresql-dev
p.s.: there are also a few native compilation dependencies that you have to keep in mind.
- g++
- make
This image is officially supported on Docker version 1.11.2.
Support for older versions (down to 1.6) is provided on a best-effort basis.
You are invited to contribute new features, fixes, or updates, large or small.
I am always thrilled to receive pull requests, and do my best to process them as fast as I can.