The letter A styled as Alchemists logo. lchemists Syndication Icon

Putin's War on Ukraine - Watch President Zelenskyy's speech and help Ukraine fight against the senseless cruelty of a dictator!

Published February 14, 2021 Updated May 24, 2022
Docker Alpine Ruby Icon

Docker Alpine Ruby

1.3.0

Provides a Ruby focused Docker image with current tooling for development purposes. Great for local development and/or continuous integration builds using the most up-to-date tooling.

Features

Requirements

Setup

To set up the project, run:

git clone https://github.com/bkuhlmann/docker-alpine-ruby.git
cd docker-alpine-ruby
git checkout 1.3.0

Usage

All versions of this image can be found on Docker Hub. The image can be pulled as follows:

docker pull bkuhlmann/alpine-ruby:latest  # <= Pull latest version.
docker pull bkuhlmann/alpine-ruby:1.3.0   # <= Pull specific version.

You can also build on top of this image via your Dockerfile:

FROM bkuhlmann/alpine-ruby:latest  # <= Latest version.
FROM bkuhlmann/alpine-ruby:1.3.0   # <= Specific version.

Development

To contribute, run:

git clone https://github.com/bkuhlmann/docker-alpine-ruby.git
cd docker-alpine-ruby

To build, run:

bin/build

To use the console, run:

bin/console

To release a new version (i.e. 1.2.3), run:

bin/release 1.2.3

Releasing without specifying a version will default to tagging the image as the latest image. Best practice is to release both the specific tag and update the latest tag as well. Example:

bin/release
bin/release 1.2.3

Tests

To test, run:

bin/console
ruby --version

Credits