项目作者: cblunt

项目描述 :
DEPRECATED: Dockerfile to build alpine linux with specific ruby version
高级语言:
项目地址: git://github.com/cblunt/alpine-linux-ruby-dockerfile.git
创建时间: 2016-04-28T21:49:30Z
项目社区:https://github.com/cblunt/alpine-linux-ruby-dockerfile

开源协议:

下载


Deprecated

Please use the official ruby alpine Docker images, e.g.:

  1. $ docker pull ruby:2.4-alpine
  2. $ docker run --rm ruby:2.4-alpine ruby -e 'puts "Hello World"'

Also see this post for a tutorial on getting started with Docker and Ruby on Rails.


ruby 2.3.1 Dockerfile

ruby 2.3.0 Dockerfile

Based on alpine:3.3, ruby installed using ruby-install

Tools

bundler and git are installed as basic requirements.

Usage

To use this image (with Ruby 2.3.1):

  1. docker run --rm cblunt/alpine-linux-ruby:2.3.1 ruby -e 'puts "Hello World"'