{"id":21991962,"url":"https://github.com/elct9620/ruby-pycall","last_synced_at":"2026-04-18T14:35:24.148Z","repository":{"id":214341174,"uuid":"736284784","full_name":"elct9620/ruby-pycall","owner":"elct9620","description":"The ruby docker image with python support for PyCall","archived":false,"fork":false,"pushed_at":"2023-12-28T11:46:10.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-23T03:30:46.338Z","etag":null,"topics":["docker","python","ruby"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elct9620.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-12-27T13:39:38.000Z","updated_at":"2023-12-28T13:00:11.000Z","dependencies_parsed_at":"2025-03-23T03:30:22.138Z","dependency_job_id":"859f7b58-104c-4091-bdbb-17df9dd636a5","html_url":"https://github.com/elct9620/ruby-pycall","commit_stats":null,"previous_names":["elct9620/ruby-pycall"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/elct9620/ruby-pycall","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elct9620%2Fruby-pycall","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elct9620%2Fruby-pycall/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elct9620%2Fruby-pycall/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elct9620%2Fruby-pycall/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elct9620","download_url":"https://codeload.github.com/elct9620/ruby-pycall/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elct9620%2Fruby-pycall/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31972532,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["docker","python","ruby"],"created_at":"2024-11-29T20:12:20.330Z","updated_at":"2026-04-18T14:35:24.132Z","avatar_url":"https://github.com/elct9620.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"Ruby with Python\n===\n\nThe `ruby` slim with additional python for [pycall.rb](https://github.com/mrkn/pycall.rb/tree/master)\n\n## Example\n\n```dockerfile\n# Specify Version\nARG RUBY_VERSION=3.3.0\nARG PYTHON_VERSION=3.12.1\n\n# Install Ruby Gems\nFROM ruby:${RUBY_VERSION} AS gem\n\nRUN mkdir -p /src/app\nCOPY Gemfile Gemfile.lock /src/app/\n\nWORKDIR /src/app\nRUN gem install bundler:2.5.3 \\\n    \u0026\u0026 bundle config --local deployment 'true' \\\n    \u0026\u0026 bundle config --local frozen 'true' \\\n    \u0026\u0026 bundle config --local no-cache 'true' \\\n    \u0026\u0026 bundle config --local without 'development test cli' \\\n    \u0026\u0026 bundle install -j \"$(getconf _NPROCESSORS_ONLN)\" \\\n    \u0026\u0026 find /src/app/vendor/bundle -type f -name '*.c' -delete \\\n    \u0026\u0026 find /src/app/vendor/bundle -type f -name '*.h' -delete \\\n    \u0026\u0026 find /src/app/vendor/bundle -type f -name '*.o' -delete \\\n    \u0026\u0026 find /src/app/vendor/bundle -type f -name '*.gem' -delete\n\n# Install Python Packages\nFROM python:${PYTHON_VERSION} AS pip\n\nRUN mkdir -p /src/app\nCOPY requiremets.txt /src/app/requirements.txt\n\nWORKDIR /src/app\nRUN pip install -r /src/app/requirements.txt\n\n# Use \"ruby-pycall\" as base image\nFROM ghcr.io/elct9620/ruby-pycall:${RUBY_VERSION}-py${PYTHON_VERSION}\n\nRUN mkdir -p /src/app\nWORKDIR /src/app\n\n# Copy Ruby Gems\nCOPY --from=gem /usr/local/bundle/config /usr/local/bundle/config\nCOPY --from=gem /usr/local/bundle /usr/local/bundle\nCOPY --from=gem /src/app/vendor/bundle /src/app/vendor/bundle\n\n# Copy Python Packages\nARG PYTHON_MINOR_VERSION=3.12\nCOPY --from=pip /usr/local/lib/python${PYTHON_MINOR_VERSION}/site-packages/ /usr/local/lib/python${PYTHON_MINOR_VERSION}/site-packages\n\n# Copy Source Code\nCOPY . .\n\n# Run server\nCMD [\"bundle\", \"exec\", \"rails\", \"server\"]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felct9620%2Fruby-pycall","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felct9620%2Fruby-pycall","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felct9620%2Fruby-pycall/lists"}