Skip to content

Latest commit

 

History

History
90 lines (58 loc) · 2.48 KB

README.md

File metadata and controls

90 lines (58 loc) · 2.48 KB

hub.docker.com/tiredofit/ruby

Introduction

Dockerfile to build a ruby base image.

  • Currently tracking versions 2.3 and 2.4, 2.5 in Debian and Alpine
  • Includes Bundler
  • s6 overlay enabled for PID 1 Init capabilities
  • zabbix-agent based on 3.4 for individual container monitoring.
  • Cron installed along with other tools (bash,curl, less, logrotate, nano, vim) for easier management.

Authors

Table of Contents

Prerequisites

No prequisites required

Installation

Automated builds of the image are available on Docker Hub and is the recommended method of installation.

docker pull tiredofit/ruby:(imagetag)

The following image tags are available:

  • 2.3-debian:latest - Ruby 2.3.x - Debian Linux
  • 2.4-debian:latest - Ruby 2.4.x - Debian Linux
  • 2.5-debian:latest - Ruby 2.5.x - Debian Linux
  • 2.3-alpine:latest - Ruby 2.4.x - Alpine Linux
  • 2.4-alpine:latest - Ruby 2.4.x - Alpine Linux
  • 2.5-alpine:latest - Ruby 2.5.x - Alpine Linux
  • latest - Ruby 2.5.x - Alpine Linux

Quick Start

Utilize this image as a base for further builds. By default it does not start the S6 Overlay system, but Bash. Please visit the s6 overlay repository for instructions on how to enable the S6 Init system when using this base or look at some of my other images which use this as a base.

Configuration

Environment Variables

Along with the Environment Variables from the Base image, below is the complete list of available options that can be used to customize your installation.

Networking

No Additional Ports Exposed

Maintenance

Shell Access

For debugging and maintenance purposes you may want access the containers shell.

docker exec -it (whatever your container name is e.g. alpine) bash

References