radavis / ruby-base

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ruby-base

Dockerfile and supporting scripts for running ruby code within a container.

Getting Started

  • build - execute instructions within Dockerfile, install dependencies declared in Gemfile, creating the ruby-base container
  • run - execute command(s) within ruby-base conatiner
$ ./bin/build
$ ./bin/run ruby lib/hello_world.rb

Documentation

Add a gem to the Gemfile, then start the docs server.

source "https://rubygems.org"
gem "httparty"
$ ./bin/docs
# visit localhost:8808

About


Languages

Language:Shell 60.5%Language:Dockerfile 25.7%Language:Ruby 13.9%