Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

kozhin/ruby

Repository files navigation

Ruby image with Alpine Linux

for Docker lightweight containers - image size is less than 60 Mb

Building image

docker build -t ruby .

How to use

# add to your Dockerfile
FROM <your docker registry URL>/ruby:latest

If you need Ruby with NodeJS, use special image:

# add to your Dockerfile
FROM <your docker registry URL>/ruby:latest-nodejs

Configuration

Update this line to install necessary version of Ruby.

# Set env variables
ENV RUBY_MAJOR="2.7" RUBY_VERSION="2.7.1"

About

Custom Ruby image for Docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published