Dockefile to create very small ruby base image
alpine-ruby-sourcecompile: Minimal Ruby image (virtual 548 MB)
This is a VERY small mri ruby 2.4.1 image by source compile, based on the Alpine edge image.
Officially ruby image
As a prerequisite, you need Docker to be installed.
To download this image from the public docker hub:
$ docker pull smapira/alpine-ruby-sourcecompile
To re-build this image from the dockerfile:
$ docker build -t alpine-ruby-sourcecompile .
$ docker run -t smapira/alpine-ruby-sourcecompile
Docker Pull Command