docker-alpine-ruby
A Ruby focused Docker image with current tooling for development purposes.
Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.5%) to scientific vocabulary
Keywords
alpine-linux
docker
ruby
Last synced: 4 months ago
·
JSON representation
·
Repository
A Ruby focused Docker image with current tooling for development purposes.
Basic Info
- Host: GitHub
- Owner: bkuhlmann
- License: other
- Language: Dockerfile
- Default Branch: main
- Homepage: https://alchemists.io/projects/docker-alpine-ruby
- Size: 472 KB
Statistics
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
alpine-linux
docker
ruby
Created almost 5 years ago
· Last pushed 5 months ago
Metadata Files
Readme
Funding
License
Citation
README.adoc
:toc: macro
:toclevels: 5
:figure-caption!:
:jemalloc_link: link:https://jemalloc.net[jemalloc]
:milestoner_link: link:https://alchemists.io/projects/milestoner[Milestoner]
:ruby_link: link:https://www.ruby-lang.org[Ruby]
:yjit_link: link:https://speed.yjit.org[YJIT]
= Docker Alpine Ruby
Provides a {ruby_link} 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.
toc::[]
== Features
* Uses the link:https://alchemists.io/projects/docker-alpine-base[Docker Alpine Base] image.
* Installs {jemalloc_link}.
* Installs {ruby_link} with {yjit_link}.
* Updates link:https://rubygems.org[RubyGems].
== Requirements
. link:https://www.docker.com[Docker].
== Setup
To set up the project, run:
[source,bash]
----
git clone https://github.com/bkuhlmann/docker-alpine-ruby.git
cd docker-alpine-ruby
git checkout 4.7.0
----
== Usage
All versions of this image can be found on
link:https://hub.docker.com/r/bkuhlmann/alpine-ruby/tags[Docker Hub]. The image can be pulled as follows:
[source,bash]
----
docker pull bkuhlmann/alpine-ruby:latest # <= Pull latest version.
docker pull bkuhlmann/alpine-ruby:4.7.0 # <= Pull specific version.
----
You can also build on top of this image via your `Dockerfile`:
[source,dockerfile]
----
FROM bkuhlmann/alpine-ruby:latest # <= Latest version.
FROM bkuhlmann/alpine-ruby:4.7.0 # <= Specific version.
----
The following configuration is used when building Ruby:
* `--build="$gnuArch"`: Enables cross compilation by ensuring {ruby_link} is built for a GNU architecture regardless of the current machine used to build Ruby.
* `--disable-install-doc`: Prevents the installationg of documentation in order to keep the image small.
* `--enable-shared ${rustArch:+--enable-yjit}`: Checks the `rustArch` environment variable is set and enables {yjit_link}. Otherwise, YJIT is disabled.
== Development
To contribute, run:
[source,bash]
----
git clone https://github.com/bkuhlmann/docker-alpine-ruby.git
cd docker-alpine-ruby
----
To build, run:
[source,bash]
----
bin/build
----
To use the console, run:
[source,bash]
----
bin/console
----
To deploy the _latest_ version, run:
[source,bash]
----
bin/deploy
----
To automatically calculate the next logical version and deploy it, run:
[source,bash]
----
bin/deploy p
----
Versions are calculated and created via the {milestoner_link} gem. Best practice is to deploy both the latest version and next version. Example:
[source,bash]
----
bin/deploy
bin/deploy p
----
The above will ensure new images are created with the following tags:
* `latest`: This is the most recent stable version which may or may not be ahead of the last version released.
* `..`: This the next logical version as calculated and created by {milestoner_link}.
== Tests
To test, run:
[source,bash]
----
bin/console
ruby --version
----
== link:https://alchemists.io/policies/license[License]
== link:https://alchemists.io/policies/security[Security]
== link:https://alchemists.io/policies/code_of_conduct[Code of Conduct]
== link:https://alchemists.io/policies/contributions[Contributions]
== link:https://alchemists.io/policies/developer_certificate_of_origin[Developer Certificate of Origin]
== link:https://alchemists.io/projects/docker-alpine-ruby/versions[Versions]
== link:https://alchemists.io/community[Community]
== Credits
* Built with link:https://alchemists.io/projects/rubysmith[Rubysmith].
* Engineered by link:https://alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].
Owner
- Name: Brooke Kuhlmann
- Login: bkuhlmann
- Kind: user
- Location: Boulder, CO USA
- Company: Alchemists
- Website: https://alchemists.io
- Repositories: 56
- Profile: https://github.com/bkuhlmann
Quality over quantity.
Citation (CITATION.cff)
cff-version: 1.2.0
message: Please use the following metadata when citing this project in your work.
title: Docker Alpine Ruby
abstract: A Ruby focused Docker image with current tooling for development purposes.
version: 4.7.0
license: Hippocratic-2.1
date-released: 2025-08-19
authors:
- family-names: Kuhlmann
given-names: Brooke
affiliation: Alchemists
orcid: https://orcid.org/0000-0002-5810-6268
keywords:
- docker
- ruby
- development
repository-code: https://github.com/bkuhlmann/docker-alpine-ruby
repository-artifact: https://alchemists.io/projects/docker-alpine-ruby
url: https://alchemists.io/projects/docker-alpine-ruby
GitHub Events
Total
- Delete event: 182
- Push event: 37
- Create event: 22
Last Year
- Delete event: 182
- Push event: 37
- Create event: 22
Committers
Last synced: 5 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Brooke Kuhlmann | b****e@a****o | 335 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 5 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0