{"id":20377768,"url":"https://github.com/rolandjitsu/grpc-cross-arm","last_synced_at":"2025-04-12T07:50:26.093Z","repository":{"id":47616983,"uuid":"304809964","full_name":"rolandjitsu/grpc-cross-arm","owner":"rolandjitsu","description":"Cross compile gRPC for ARM with Docker","archived":false,"fork":false,"pushed_at":"2021-05-12T07:55:42.000Z","size":17,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T11:35:38.478Z","etag":null,"topics":["arm","cross-compile","docker","grpc","grpc-cpp"],"latest_commit_sha":null,"homepage":"https://rolandsdev.blog/cross-compile-grpc-for-arm-with-docker","language":"CMake","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/rolandjitsu.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}},"created_at":"2020-10-17T06:08:33.000Z","updated_at":"2025-02-06T01:36:32.000Z","dependencies_parsed_at":"2022-09-23T14:00:24.607Z","dependency_job_id":null,"html_url":"https://github.com/rolandjitsu/grpc-cross-arm","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/rolandjitsu%2Fgrpc-cross-arm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rolandjitsu%2Fgrpc-cross-arm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rolandjitsu%2Fgrpc-cross-arm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rolandjitsu%2Fgrpc-cross-arm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rolandjitsu","download_url":"https://codeload.github.com/rolandjitsu/grpc-cross-arm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248537003,"owners_count":21120688,"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":["arm","cross-compile","docker","grpc","grpc-cpp"],"created_at":"2024-11-15T01:46:26.049Z","updated_at":"2025-04-12T07:50:26.065Z","avatar_url":"https://github.com/rolandjitsu.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gRPC Cross ARM\n\u003e Cross compile gRPC for ARM with Docker.\n\n[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/rolandjitsu/grpc-cross-arm/Test?label=tests\u0026style=flat-square)](https://github.com/rolandjitsu/grpc-cross-arm/actions?query=workflow%3ATest)\n\n## Prerequisites\nInstall the following tools:\n* [Docker](https://docs.docker.com/engine) \u003e= `19.03.13`\n* [buildx](https://github.com/docker/buildx#installing) \u003e= `v0.4.1`\n\n## Setup Docker\nCreate a builder:\n```bash\ndocker buildx create --name my-builder --driver docker-container --use\n```\n\nThen inspect and bootstrap it:\n```bash\ndocker buildx inspect --bootstrap\n```\n\n## Compile\nTo compile the binaries:\n```bash\ndocker buildx build -f Dockerfile -o type=local,dest=./bin .\n```\n\n*P.S.* To bust the cache, use `--no-cache`.\n\n## Bake\nTo make things easier, you can use the [bake](https://github.com/docker/buildx#buildx-bake-options-target) command.\n\nTo compile the binaries:\n```bash\ndocker buildx bake\n```\n\n## Learning Material\n* [Docker Buildx](https://docs.docker.com/buildx/working-with-buildx/)\n* [Getting started with Docker for ARM on Linux](https://www.docker.com/blog/getting-started-with-docker-for-arm-on-linux/)\n* [Best practices for writing Dockerfiles](https://docs.docker.com/develop/develop-images/dockerfile_best-practices/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frolandjitsu%2Fgrpc-cross-arm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frolandjitsu%2Fgrpc-cross-arm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frolandjitsu%2Fgrpc-cross-arm/lists"}