Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

Docker image for Ruby build from Fullstaq based on Debian 9 and Debian 10.

Notifications You must be signed in to change notification settings

apoex/fullstaq-ruby-docker-old

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fullstaq Ruby Docker images

Fullstaq Ruby is a custom build of standard MRI Ruby interpreter with memory allocator replaced, security patches applied, and more goodies on the way.

These images are intended to be used while Fullstaq and Hongli Lai haven't build their own.

Sponsored by Evil Martians

Usage

Pull it directly from the quay.io registry:

docker pull quay.io/evl.ms/fullstaq-ruby:2.7.2-jemalloc-slim

Or use as base image in your Dockerfile:

ARG RUBY_VERSION=2.7.2-jemalloc

FROM quay.io/evl.ms/fullstaq-ruby:${RUBY_VERSION}-slim

Flavors

Ruby 2.6.6 and 2.7.2 with jemalloc and malloctrim are available. Images are built on either Debian 9 (stretch) or 10 (buster):

# 2.7:
docker pull quay.io/evl.ms/fullstaq-ruby:2.7.2-jemalloc-buster-slim
docker pull quay.io/evl.ms/fullstaq-ruby:2.7.2-jemalloc-buster
docker pull quay.io/evl.ms/fullstaq-ruby:2.7.2-jemalloc-stretch-slim
docker pull quay.io/evl.ms/fullstaq-ruby:2.7.2-jemalloc-stretch
docker pull quay.io/evl.ms/fullstaq-ruby:2.7.2-malloctrim-buster-slim
docker pull quay.io/evl.ms/fullstaq-ruby:2.7.2-malloctrim-buster
docker pull quay.io/evl.ms/fullstaq-ruby:2.7.2-malloctrim-stretch-slim
docker pull quay.io/evl.ms/fullstaq-ruby:2.7.2-malloctrim-stretch

# 2.6:
docker pull quay.io/evl.ms/fullstaq-ruby:2.6.6-jemalloc-buster-slim
docker pull quay.io/evl.ms/fullstaq-ruby:2.6.6-jemalloc-buster
docker pull quay.io/evl.ms/fullstaq-ruby:2.6.6-jemalloc-stretch-slim
docker pull quay.io/evl.ms/fullstaq-ruby:2.6.6-jemalloc-stretch
docker pull quay.io/evl.ms/fullstaq-ruby:2.6.6-malloctrim-buster-slim
docker pull quay.io/evl.ms/fullstaq-ruby:2.6.6-malloctrim-buster
docker pull quay.io/evl.ms/fullstaq-ruby:2.6.6-malloctrim-stretch-slim
docker pull quay.io/evl.ms/fullstaq-ruby:2.6.6-malloctrim-stretch

Details

Ruby is installed from official APT package repository. Rbenv isn't used.

Caveats

Bash login shell bash -l -c 'command' resets $PATH to default. It is not clear why it happens there, because in official Ruby image it works and this image is based on the same debian:stretch-slim base image.

That may hurt you if you're using whenever gem which wraps every command in Bash login shell by default. To remove this wrapping place following to the top of your config/schedule.rb:

# config/schedule.rb
set :job_template, nil

About

Docker image for Ruby build from Fullstaq based on Debian 9 and Debian 10.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%