Giter Club home page Giter Club logo

fullstaq-ruby-docker's Introduction

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:3.1-jemalloc-slim

Or use as base image in your Dockerfile:

ARG RUBY_VERSION=3.1.2-jemalloc

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

Flavors

Ruby 3.1.2, 3.0.4, and 2.7.6 with jemalloc and malloctrim are available. Images are built on top of Debian 9 (stretch), 10 (buster), and 11 (bullseye):

# 3.1:
docker pull quay.io/evl.ms/fullstaq-ruby:3.1.2-jemalloc-bullseye-slim
docker pull quay.io/evl.ms/fullstaq-ruby:3.1.2-jemalloc-bullseye
docker pull quay.io/evl.ms/fullstaq-ruby:3.1.2-jemalloc-buster-slim
docker pull quay.io/evl.ms/fullstaq-ruby:3.1.2-jemalloc-buster
docker pull quay.io/evl.ms/fullstaq-ruby:3.1.2-jemalloc-stretch-slim
docker pull quay.io/evl.ms/fullstaq-ruby:3.1.2-jemalloc-stretch
docker pull quay.io/evl.ms/fullstaq-ruby:3.1.2-malloctrim-bullseye-slim
docker pull quay.io/evl.ms/fullstaq-ruby:3.1.2-malloctrim-bullseye
docker pull quay.io/evl.ms/fullstaq-ruby:3.1.2-malloctrim-buster-slim
docker pull quay.io/evl.ms/fullstaq-ruby:3.1.2-malloctrim-buster
docker pull quay.io/evl.ms/fullstaq-ruby:3.1.2-malloctrim-stretch-slim
docker pull quay.io/evl.ms/fullstaq-ruby:3.1.2-malloctrim-stretch

# 3.0:
docker pull quay.io/evl.ms/fullstaq-ruby:3.0.4-jemalloc-bullseye-slim
docker pull quay.io/evl.ms/fullstaq-ruby:3.0.4-jemalloc-bullseye
docker pull quay.io/evl.ms/fullstaq-ruby:3.0.4-jemalloc-buster-slim
docker pull quay.io/evl.ms/fullstaq-ruby:3.0.4-jemalloc-buster
docker pull quay.io/evl.ms/fullstaq-ruby:3.0.4-jemalloc-stretch-slim
docker pull quay.io/evl.ms/fullstaq-ruby:3.0.4-jemalloc-stretch
docker pull quay.io/evl.ms/fullstaq-ruby:3.0.4-malloctrim-bullseye-slim
docker pull quay.io/evl.ms/fullstaq-ruby:3.0.4-malloctrim-bullseye
docker pull quay.io/evl.ms/fullstaq-ruby:3.0.4-malloctrim-buster-slim
docker pull quay.io/evl.ms/fullstaq-ruby:3.0.4-malloctrim-buster
docker pull quay.io/evl.ms/fullstaq-ruby:3.0.4-malloctrim-stretch-slim
docker pull quay.io/evl.ms/fullstaq-ruby:3.0.4-malloctrim-stretch

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

Latest patch versions for Ruby 3.1 on Debian 11 (bullseye) are also aliased with shortened tags including major and minor versions only: 3.1.2-jemalloc-bullseye โ†’ 3.1-jemalloc

docker pull quay.io/evl.ms/fullstaq-ruby:3.1-jemalloc-slim   # Same as quay.io/evl.ms/fullstaq-ruby:3.1.2-jemalloc-bullseye-slim
docker pull quay.io/evl.ms/fullstaq-ruby:3.1-jemalloc        # Same as quay.io/evl.ms/fullstaq-ruby:3.1.2-jemalloc-bullseye
docker pull quay.io/evl.ms/fullstaq-ruby:3.1-malloctrim-slim # Same as quay.io/evl.ms/fullstaq-ruby:3.1.2-malloctrim-bullseye-slim
docker pull quay.io/evl.ms/fullstaq-ruby:3.1-malloctrim      # Same as quay.io/evl.ms/fullstaq-ruby:3.1.2-malloctrim-bullseye

For Ruby 3.0 and older, short aliases for latest patch versions are made against Debian 10 (buster): 3.0.4-jemalloc-buster โ†’ 3.0-jemalloc

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

fullstaq-ruby-docker's People

Contributors

envek avatar manuelvanrijn avatar keymastervn avatar sponomarev avatar skryukov avatar mrexox avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.