{"id":20931156,"url":"https://github.com/dashbrains/ubi-ruby","last_synced_at":"2026-04-10T22:35:20.754Z","repository":{"id":167766814,"uuid":"631703645","full_name":"DashBrains/ubi-ruby","owner":"DashBrains","description":"Docker Image for Ruby on UBI","archived":false,"fork":false,"pushed_at":"2025-06-13T23:35:49.000Z","size":17,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-31T13:14:47.400Z","etag":null,"topics":["container","docker","docker-image","redhat","ruby","ubi"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/dashbrains/ubi-ruby","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DashBrains.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-23T21:04:48.000Z","updated_at":"2025-06-13T23:35:52.000Z","dependencies_parsed_at":"2024-05-12T21:48:20.894Z","dependency_job_id":null,"html_url":"https://github.com/DashBrains/ubi-ruby","commit_stats":null,"previous_names":["dashbrains/ubi-ruby"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DashBrains/ubi-ruby","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DashBrains%2Fubi-ruby","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DashBrains%2Fubi-ruby/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DashBrains%2Fubi-ruby/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DashBrains%2Fubi-ruby/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DashBrains","download_url":"https://codeload.github.com/DashBrains/ubi-ruby/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DashBrains%2Fubi-ruby/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31662169,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"ssl_error","status_checked_at":"2026-04-10T17:19:13.364Z","response_time":98,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["container","docker","docker-image","redhat","ruby","ubi"],"created_at":"2024-11-18T21:39:30.331Z","updated_at":"2026-04-10T22:35:20.726Z","avatar_url":"https://github.com/DashBrains.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ruby UBI\n\n[![![dockeri.co](https://dockerico.blankenship.io/image/dashbrains/ubi-ruby)](https://hub.docker.com/r/dashbrains/ubi-ruby)\n\n[![GitHub issues](https://img.shields.io/github/issues/dashbrains/ubi-ruby.svg \"GitHub issues\")](https://github.com//dashbrains/ubi-ruby)\n[![GitHub stars](https://img.shields.io/github/stars/dashbrains/ubi-ruby.svg \"GitHub stars\")](https://github.com/dashbrains/ubi-ruby)\n\nThe Ruby image based on Redhat UBI.\n\n## Table of Contents\n\n- [Ruby UBI](#ruby-ubi)\n  - [Table of Contents](#table-of-contents)\n  - [What is Ruby?](#what-is-ruby)\n  - [How to use this image](#how-to-use-this-image)\n    - [Create a `Dockerfile` in your Ruby app project](#create-a-dockerfile-in-your-ruby-app-project)\n    - [Run a single Ruby script](#run-a-single-ruby-script)\n  - [Image Variants](#image-variants)\n    - [`ruby-ubi::\u003cversion\u003e-ubi9`](#ruby-ubiversion-ubi9)\n    - [`ruby-ubi::\u003cversion\u003e-ubi8`](#ruby-ubiversion-ubi8)\n  - [License](#license)\n  - [Supported Docker versions](#supported-docker-versions)\n  - [Supported Ruby versions](#supported-ruby-versions)\n\n## What is Ruby?\n\nA dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write.\n\nSee: https://www.ruby-lang.org\n\n## How to use this image\n\n### Create a `Dockerfile` in your Ruby app project\n\n```dockerfile\n# specify the ruby base image with your desired version ruby:\u003cversion\u003e-\u003cubi-version\u003e\nFROM ruby:3.2.2-ubi9\n# replace this with your application's default port\nEXPOSE 8888\n```\n\nYou can then build and run the Docker image:\n\n```console\n$ docker build -t my-ruby-app .\n$ docker run -it --rm --name my-running-app my-ruby-app\n```\n\nIf you prefer Docker Compose:\n\n```yml\nversion: \"2\"\nservices:\n  ruby:\n    image: \"ruby-ubi:3.2.2-ubi9\"\n    working_dir: /app\n    expose:\n      - \"8081\"\n    command: \"ruby app.rb\"\n```\n\nYou can then run using Docker Compose:\n\n```console\n$ docker-compose up -d\n```\n\n### Run a single Ruby script\n\nFor many simple, single file projects, you may find it inconvenient to write a\ncomplete `Dockerfile`. In such cases, you can run a Ruby script by using the\nRuby Docker image directly:\n\n```console\n$ docker run -it --rm --name my-running-script -v \"$PWD\":/app -w /app ruby-uby:3.2.2-ubi9 ruby your-daemon-or-script.rb\n```\n\n## Image Variants\n\nThe `ruby-ubi` images come in many flavors, each designed for a specific use case.\nAll of the images contain pre-installed versions of `ruby`,\n[`bundle`](https://bundler.io/). For each\nsupported architecture, the supported variants are different.\n\n### `ruby-ubi::\u003cversion\u003e-ubi9`\n\nThis image is based on version 9 of\n[UBI](https://www.redhat.com/en/blog/introducing-red-hat-universal-base-image), available in\n[the `ubi9` official image](https://hub.docker.com/r/redhat/ubi9).\n\n### `ruby-ubi::\u003cversion\u003e-ubi8`\n\nThis image is based on version 8 of\n[UBI](https://www.redhat.com/en/blog/introducing-red-hat-universal-base-image), available in\n[the `ubi8` official image](https://hub.docker.com/r/redhat/ubi8).\n\n\n## License\n\n[License information](LICENSE) for the\nRuby UBI Docker project.\n\n## Supported Docker versions\n\nThis image is officially supported on Docker version 1.9.1.\n\nSupport for older versions (down to 1.6) is provided on a best-effort basis.\n\nPlease see [the Docker installation\ndocumentation](https://docs.docker.com/installation/) for details on how to\nupgrade your Docker daemon.\n\n## Supported Ruby versions\n\nThis project will support Ruby versions as still under active support as per the [Ruby Maintenance Branches](https://www.ruby-lang.org/en/downloads/branches/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashbrains%2Fubi-ruby","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdashbrains%2Fubi-ruby","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashbrains%2Fubi-ruby/lists"}