Ruby 2.7.0 on debian slim-buster
5.3K
An opionated base ruby image that's easily upgradable.
The following tools are built-in:
These libs are preinstalled:
The image is able to modify the bundler version by specifiying a build-time ARG named BUNLDER_VERSION.
It further more updates the gemsystem to use the latest version.
GEM_HOME is set to /bundle, this can later be used as a mount.
More Bundler settings can be found on the bundler page.
Per convention the default working directory is to /app.
You can easily build the image by using the complementary Makefile found in this repo.
Call it like this: make build
make build push builds the image and pushes it to the Docker Hub with the following tags:
The following variables can be adjusted to modify the outcome of the image:
# VARIABLE=default
RUBY_VERSION=2.7.0
DEBIAN_VERSION_NAME=buster
BUNDLER_VERSION=2.1.4
You can override a specific variable by calling it like so:
make RUBY_VERSION=2.5.2 build push
Content type
Image
Digest
Size
181.4 MB
Last updated
over 5 years ago
docker pull talentplatforms/ruby