{"id":13513786,"url":"https://github.com/bkuhlmann/docker-alpine-ruby","last_synced_at":"2025-07-23T23:03:31.147Z","repository":{"id":66295109,"uuid":"338914520","full_name":"bkuhlmann/docker-alpine-ruby","owner":"bkuhlmann","description":"A Ruby focused Docker image with current tooling for development purposes.","archived":false,"fork":false,"pushed_at":"2025-07-14T23:41:54.000Z","size":474,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-15T04:02:29.684Z","etag":null,"topics":["alpine-linux","docker","ruby"],"latest_commit_sha":null,"homepage":"https://alchemists.io/projects/docker-alpine-ruby","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bkuhlmann.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.adoc","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["bkuhlmann"]}},"created_at":"2021-02-14T22:22:49.000Z","updated_at":"2025-07-14T23:41:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"85542ebe-ac8e-4641-845b-868edb278420","html_url":"https://github.com/bkuhlmann/docker-alpine-ruby","commit_stats":null,"previous_names":[],"tags_count":98,"template":false,"template_full_name":null,"purl":"pkg:github/bkuhlmann/docker-alpine-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkuhlmann%2Fdocker-alpine-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkuhlmann%2Fdocker-alpine-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkuhlmann%2Fdocker-alpine-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkuhlmann%2Fdocker-alpine-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bkuhlmann","download_url":"https://codeload.github.com/bkuhlmann/docker-alpine-ruby/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkuhlmann%2Fdocker-alpine-ruby/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266764340,"owners_count":23980542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alpine-linux","docker","ruby"],"created_at":"2024-08-01T05:00:37.677Z","updated_at":"2025-07-23T23:03:31.141Z","avatar_url":"https://github.com/bkuhlmann.png","language":"Dockerfile","funding_links":["https://github.com/sponsors/bkuhlmann"],"categories":["Dockerfile"],"sub_categories":[],"readme":":toc: macro\n:toclevels: 5\n:figure-caption!:\n\n:jemalloc_link: link:https://jemalloc.net[jemalloc]\n:milestoner_link: link:https://alchemists.io/projects/milestoner[Milestoner]\n:ruby_link: link:https://www.ruby-lang.org[Ruby]\n:yjit_link: link:https://speed.yjit.org[YJIT]\n\n= Docker Alpine Ruby\n\nProvides a {ruby_link} focused Docker image with current tooling for development purposes. Great for\nlocal development and/or continuous integration builds using the most up-to-date tooling.\n\ntoc::[]\n\n== Features\n\n* Uses the link:https://alchemists.io/projects/docker-alpine-base[Docker Alpine Base] image.\n* Installs {jemalloc_link}.\n* Installs {ruby_link} with {yjit_link}.\n* Updates link:https://rubygems.org[RubyGems].\n\n== Requirements\n\n. link:https://www.docker.com[Docker].\n\n== Setup\n\nTo set up the project, run:\n\n[source,bash]\n----\ngit clone https://github.com/bkuhlmann/docker-alpine-ruby.git\ncd docker-alpine-ruby\ngit checkout 4.6.1\n----\n\n== Usage\n\nAll versions of this image can be found on\nlink:https://hub.docker.com/r/bkuhlmann/alpine-ruby/tags[Docker Hub]. The image can be pulled as follows:\n\n[source,bash]\n----\ndocker pull bkuhlmann/alpine-ruby:latest  # \u003c= Pull latest version.\ndocker pull bkuhlmann/alpine-ruby:4.6.1  # \u003c= Pull specific version.\n----\n\nYou can also build on top of this image via your `Dockerfile`:\n\n[source,dockerfile]\n----\nFROM bkuhlmann/alpine-ruby:latest  # \u003c= Latest version.\nFROM bkuhlmann/alpine-ruby:4.6.1  # \u003c= Specific version.\n----\n\nThe following configuration is used when building Ruby:\n\n* `--build=\"$gnuArch\"`: Enables cross compilation by ensuring {ruby_link} is built for a GNU architecture regardless of the current machine used to build Ruby.\n* `--disable-install-doc`: Prevents the installationg of documentation in order to keep the image small.\n* `--enable-shared ${rustArch:+--enable-yjit}`: Checks the `rustArch` environment variable is set and enables {yjit_link}. Otherwise, YJIT is disabled.\n\n== Development\n\nTo contribute, run:\n\n[source,bash]\n----\ngit clone https://github.com/bkuhlmann/docker-alpine-ruby.git\ncd docker-alpine-ruby\n----\n\nTo build, run:\n\n[source,bash]\n----\nbin/build\n----\n\nTo use the console, run:\n\n[source,bash]\n----\nbin/console\n----\n\nTo deploy the _latest_ version, run:\n\n[source,bash]\n----\nbin/deploy\n----\n\nTo automatically calculate the next logical version and deploy it, run:\n\n[source,bash]\n----\nbin/deploy p\n----\n\nVersions are calculated and created via the {milestoner_link} gem. Best practice is to deploy both the latest version and next version. Example:\n\n[source,bash]\n----\nbin/deploy\nbin/deploy p\n----\n\nThe above will ensure new images are created with the following tags:\n\n* `latest`: This is the most recent stable version which may or may not be ahead of the last version released.\n* `\u003cmajor\u003e.\u003cminor\u003e.\u003cpatch\u003e`: This the next logical version as calculated and created by {milestoner_link}.\n\n== Tests\n\nTo test, run:\n\n[source,bash]\n----\nbin/console\nruby --version\n----\n\n== link:https://alchemists.io/policies/license[License]\n\n== link:https://alchemists.io/policies/security[Security]\n\n== link:https://alchemists.io/policies/code_of_conduct[Code of Conduct]\n\n== link:https://alchemists.io/policies/contributions[Contributions]\n\n== link:https://alchemists.io/policies/developer_certificate_of_origin[Developer Certificate of Origin]\n\n== link:https://alchemists.io/projects/docker-alpine-ruby/versions[Versions]\n\n== link:https://alchemists.io/community[Community]\n\n== Credits\n\n* Built with link:https://alchemists.io/projects/rubysmith[Rubysmith].\n* Engineered by link:https://alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbkuhlmann%2Fdocker-alpine-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbkuhlmann%2Fdocker-alpine-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbkuhlmann%2Fdocker-alpine-ruby/lists"}