{"id":15222149,"url":"https://github.com/googlecloudplatform/ruby-docker","last_synced_at":"2025-04-09T10:09:13.004Z","repository":{"id":17858580,"uuid":"20784133","full_name":"GoogleCloudPlatform/ruby-docker","owner":"GoogleCloudPlatform","description":"Ruby runtime for Google Cloud Platform","archived":false,"fork":false,"pushed_at":"2024-09-20T15:58:34.000Z","size":465,"stargazers_count":134,"open_issues_count":30,"forks_count":56,"subscribers_count":38,"default_branch":"master","last_synced_at":"2025-03-30T15:43:32.138Z","etag":null,"topics":["appengine","docker","google-cloud","ruby","ruby-runtime"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GoogleCloudPlatform.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":"2014-06-12T21:56:09.000Z","updated_at":"2024-04-15T20:53:25.000Z","dependencies_parsed_at":"2024-01-13T20:57:53.521Z","dependency_job_id":"80555262-565a-453c-916a-52b26c502855","html_url":"https://github.com/GoogleCloudPlatform/ruby-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fruby-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fruby-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fruby-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fruby-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GoogleCloudPlatform","download_url":"https://codeload.github.com/GoogleCloudPlatform/ruby-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248018061,"owners_count":21034048,"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","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":["appengine","docker","google-cloud","ruby","ruby-runtime"],"created_at":"2024-09-28T15:10:48.873Z","updated_at":"2025-04-09T10:09:12.979Z","avatar_url":"https://github.com/GoogleCloudPlatform.png","language":"Ruby","readme":"# Ruby Runtime for Google Cloud Platform\n\n[![Travis-CI Build Status](https://travis-ci.org/GoogleCloudPlatform/ruby-docker.svg)](https://travis-ci.org/GoogleCloudPlatform/ruby-docker/)\n\nThis repository contains the source for the Ruby runtime for\n[Google App Engine Flexible](https://cloud.google.com/appengine/docs/flexible/).\n\nFor more information on using the Ruby runtime, see\nhttps://cloud.google.com/appengine/docs/flexible/ruby/\n\n## Contents\n\nThis repository includes:\n\n* The base image atop Ubuntu 20_04, including the OS, common libraries and\n  build dependencies, NodeJS, and rbenv, in the `ruby-ubuntu20` directory.\n* A Dockerfile and config for building Ruby binary images in the\n  `ruby-prebuilt` directory.\n* A convenience image, including the above Ubuntu image and a default\n  installation of Ruby, in the `ruby-base` directory.\n* A raw image that contains installations of some common build tools and\n  scripts, such as Yarn, the Google Cloud SQL Proxy, and the Google Cloud SDK,\n  in the `ruby-build-tools` directory.\n* An image that analyzes a Ruby application and generates an appropriate\n  Dockerfile, in the `ruby-generate-dockerfile` directory.\n* Templates for the Ruby runtime build pipeline definition in the\n  `ruby-pipeline` directory.\n\nThis repository also contains a helper image, \"app-engine-exec-wrapper\" that\nprovides a way to execute scripts in an App Engine application's environment.\nSee the `app-engine-exec-wrapper` directory for more details.\n\nThe `integration_test` directory contains sample applications that are used\nby the Google Ruby team for runtime integration tests.\n\n## Local builds and tests\n\n[Toys](https://github.com/dazuma/toys) tools are provided to build the images\nlocally and run the unit tests in the test directory. The tools require current\nversions of Ruby and Docker.\n\nTo perform a local build and test:\n\n    gem install toys # If not already present\n    toys build\n    toys test\n\nNote this procedure tests against production prebuilt Ruby binaries by default.\nTo create and test a small number of locally-built binaries:\n\n    toys build --use-local-prebuilt\n    toys test --use-local-prebuilt\n\n## Release builds\n\nRelease candidates can be built using the `build-*.sh` scripts. Generally, they\nbuild artifacts, tagged with a build number, to a specified project (defaulting\nto the current gcloud project). Builds can be released using the `release-*.sh`\nscripts, which generally just retag a specified build as latest. Each of these\nscripts accepts a `-h` flag which documents the options.\n\n### Runtime images\n\nTo build and release runtime images, use the `build-ruby-runtime-images.sh` and\n`release-ruby-runtime-images.sh` scripts.\nWhen building, you may want to set the `-s` flag to tag the build as staging,\nand the `-i` flag to use a prebuilt binary for the convenience base image.\n\nOfficial release builds of the runtime images are generally performed\ninternally at Google. Such builds are roughly equivalent to:\n\n    ./build-ruby-runtime-images.sh -i -p gcp-runtimes -s\n    ./release-ruby-runtime-images.sh -p gcp-runtimes\n\n### Prebuilt binaries\n\nTo build and release prebuilt binary images, use the\n`build-ruby-binary-images.sh` and `release-ruby-binary-images.sh` scripts.\nWhen building, you should either set the `-c` flag or provide a\n`prebuilt-versions.txt` file to tell the runtime which Rubies to build. You may\nalso want to set the `-s` flag to mark the new images as staging.\n\nOfficial release builds of the prebuilt binaries are generally performed\ninternally at Google. Such builds are roughly equivalent to:\n\n    ./build-ruby-binary-images.sh -p gcp-runtimes -s -c \u003cversions\u003e\n    ./release-ruby-binary-images.sh -p gcp-runtimes -c \u003cversions\u003e\n\nThe canonical list of prebuilt binaries is defined in the file\n`ruby-pipeline/ruby-latest.yaml`, which is the template used to build the\nofficial Ruby runtime. (This file also defines the default Ruby version used if\nan app does not specify a Ruby version.) To add to the canonical list, first\nbuild and release the prebuilt binary, then add an applicable entry to\n`ruby-pipeline/ruby-latest.yaml` and perform a template build (which must be\ndone internally at Google.)\n\n### Runtime pipeline\n\nTo build and release the runtime pipeline config, use the\n`build-ruby-runtime-pipeline.sh` and `release-ruby-runtime-pipeline.sh` scripts.\nThe `-b` flag is required. You may also want to set the `-s` flag to tag the\npipeline build as staging. Finally, you should either set the `-c` flag, or\nprovide a `prebuilt-versions.txt` file to tell the runtime which Rubies are\nprebuilt.\n\nOfficial release builds of the pipeline are generally performed internally at\nat Google. Such builds are roughly equivalent to:\n\n    ./build-ruby-runtime-pipeline.sh -b gcp-runtimes -p gcp-runtimes -s\n    ./release-ruby-runtime-pipeline.sh -b gcp-runtimes -p gcp-runtimes\n\n### Exec Wrapper\n\nTo build and release the exec wrapper, use the\n`build-app-engine-exec-wrapper.sh` and `release-app-engine-exec-wrapper.sh`\nscripts. You may also want to set the `-s` flag to tag the build as staging.\n\nOfficial release builds of the wrapper are generally performed internally at\nat Google. Such builds are roughly equivalent to:\n\n    ./build-app-engine-exec-wrapper.sh -p google-appengine -s\n    ./release-app-engine-exec-wrapper.sh -p google-appengine\n\n## Contributing changes\n\n* See [CONTRIB.md](CONTRIB.md)\n\n## License\n\n* See [LICENSE](LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglecloudplatform%2Fruby-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgooglecloudplatform%2Fruby-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglecloudplatform%2Fruby-docker/lists"}