{"id":48489757,"url":"https://github.com/publishing-platform/publishing-platform-ruby-images","last_synced_at":"2026-04-07T11:04:43.692Z","repository":{"id":295689758,"uuid":"888978793","full_name":"publishing-platform/publishing-platform-ruby-images","owner":"publishing-platform","description":"Docker images for building and running production Ruby applications on Kubernetes.","archived":false,"fork":false,"pushed_at":"2026-04-01T20:18:50.000Z","size":42,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-02T01:28:25.188Z","etag":null,"topics":["container","publishing-platform"],"latest_commit_sha":null,"homepage":"","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/publishing-platform.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,"zenodo":null}},"created_at":"2024-11-15T11:23:27.000Z","updated_at":"2026-04-01T20:18:56.000Z","dependencies_parsed_at":"2025-05-26T22:35:22.174Z","dependency_job_id":null,"html_url":"https://github.com/publishing-platform/publishing-platform-ruby-images","commit_stats":null,"previous_names":["publishing-platform/publishing-platform-ruby-images"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/publishing-platform/publishing-platform-ruby-images","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/publishing-platform%2Fpublishing-platform-ruby-images","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/publishing-platform%2Fpublishing-platform-ruby-images/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/publishing-platform%2Fpublishing-platform-ruby-images/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/publishing-platform%2Fpublishing-platform-ruby-images/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/publishing-platform","download_url":"https://codeload.github.com/publishing-platform/publishing-platform-ruby-images/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/publishing-platform%2Fpublishing-platform-ruby-images/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31509946,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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","publishing-platform"],"created_at":"2026-04-07T11:04:41.633Z","updated_at":"2026-04-07T11:04:43.681Z","avatar_url":"https://github.com/publishing-platform.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Publishing Platform Ruby Images\nThis repo contains Docker images intended for use as a base for Publishing Platform app containers. The `publishing-platform-ruby-base` image contains a Ruby installation, along with node.js and yarn. The `publishing-platform-ruby-builder` image contains environment variables and configuration for building Ruby applications.\n\n## Usage\n\nUse the two images in your app's Dockerfile.\n\nSpecify the image tag that corresponds to the `\u003cmajor\u003e.\u003cminor\u003e` Ruby version that your application needs.\n\n\n```dockerfile\nARG ruby_version=3.2\nARG base_image=ghcr.io/publishing-platform/publishing-platform-ruby-base:$ruby_version\nARG builder_image=ghcr.io/publishing-platform/publishing-platform-ruby-builder:$ruby_version\n\nFROM $builder_image AS builder\n\n# your build steps here\n\nFROM $base_image\n\n# your app image steps here\n```\n\n## Common problems and resolutions\n\n`ERROR: failed to solve: cannot copy to non-directory: /var/lib/docker/overlay2/.../merged/app/tmp`\n\nAdd `tmp/` to your `.dockerignore`. This is necessary because we symlink\n`$APP_HOME/tmp` to `/tmp` as a workaround for some badly-behaved gems that\nassume they can write to `Path.join(Rails.root, 'tmp')` so that we can run with\n`readOnlyRootFilesystem`.\n\n## Managing Ruby versions\n\nRuby version information is kept in the [versions](versions/) directory. Each file in this directory is a shell script containing three variables that define a Ruby version:\n\n* `RUBY_MAJOR`: The major and minor Ruby version, excluding the patch version. For example, `3.2`. The image will be tagged with this version number (with `.` instead of `_`) unless `RUBY_IS_PATCH` is equal to the string `true`.\n* `RUBY_VERSION`: The full Ruby version, including patch version. This is used to download the Ruby source distribution. The image will be tagged with this version number, regardless of the value of `RUBY_IS_PATCH`.\n* `RUBY_IS_PATCH`: If equal to the string `true` then this version will **not** be tagged with the major.minor version number. (It will be tagged only with the full version number that includes the patch version.)\n\n### Hashes of source tarballs for verification\n\nThe file [SHA256SUMS](SHA256SUMS) contains the SHA-256 hashes of the Ruby and OpenSSL source tarballs. These are verified at build-time.\n\nTo add hashes for new Ruby/OpenSSL versions:\n\n1. Download the new source tarball(s).\n\n1. Run `sha256sum *gz \u003e\u003eSHA256SUMS`. If your system doesn't have `sha256sum`, try `shasum -a256`.\n\n1. Compare the new hashes with those listed on the [Ruby downloads page](https://www.ruby-lang.org/en/downloads/) and [OpenSSL downloads page](https://www.openssl.org/source/).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpublishing-platform%2Fpublishing-platform-ruby-images","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpublishing-platform%2Fpublishing-platform-ruby-images","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpublishing-platform%2Fpublishing-platform-ruby-images/lists"}