{"id":22511174,"url":"https://github.com/renderedtext/docker-protoc","last_synced_at":"2026-03-19T23:02:51.544Z","repository":{"id":47850238,"uuid":"354000480","full_name":"renderedtext/docker-protoc","owner":"renderedtext","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-27T17:14:14.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-17T12:43:29.863Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","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/renderedtext.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":"2021-04-02T11:36:00.000Z","updated_at":"2022-11-28T12:01:16.000Z","dependencies_parsed_at":"2025-03-28T00:40:56.563Z","dependency_job_id":"97f3becb-64f6-47eb-b56c-0036a67aa1b2","html_url":"https://github.com/renderedtext/docker-protoc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/renderedtext/docker-protoc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renderedtext%2Fdocker-protoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renderedtext%2Fdocker-protoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renderedtext%2Fdocker-protoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renderedtext%2Fdocker-protoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/renderedtext","download_url":"https://codeload.github.com/renderedtext/docker-protoc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/renderedtext%2Fdocker-protoc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267070318,"owners_count":24030970,"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","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"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":[],"created_at":"2024-12-07T02:09:50.442Z","updated_at":"2026-02-08T15:32:46.250Z","avatar_url":"https://github.com/renderedtext.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dockerized Protoc\n\nThis repository holds receipts for production of Dockerized `protoc` plugin for Elixir.\nWe use these Docker images in the development process accross our Elixir projects\nin order to make sure that every team member uses the same `protoc` version.\n\n## Usage\n\nDocker run should be executed with the following options set:\n- assign local directories to the following Docker container volumes `/home/protoc/code` and `/home/protoc/source`\n  - `/home/protoc/code` - working directory (`$PWD` in the following example)\n  - `/home/protoc/source` - directory that contains already generated protos (`$TMP_PROTO_DIR`)\n- specify the protos output path within your local environment (`$PROTO_OUTPUT_DIR`)\n- specify Docker container path of the target `proto` file (ie. file that needs to be compiled with `protoc` and is present in `$TMP_PROTO_DIR` locally; eg. `/home/protoc/source/user.proto`)\n- specify Docker protoc image tag (`$PROTOC_IMG_VSN`); when not specified `latest` will be used\n\n``` bash\ndocker run --rm -v $PWD:/home/protoc/code -v $TMP_PROTO_DIR:/home/protoc/source \\\n  renderedtext/protoc:$PROTOC_IMG_VSN protoc -I /home/protoc/source -I /home/protoc/source/include \\\n  --elixir_out=plugins=grpc:$PROTO_OUTPUT_DIR \\\n  --plugin=/root/.mix/escripts/protoc-gen-elixir /home/protoc/source/user.proto\n```\n\n## Deployment\n\nNew Docker image deployment is managed with the following promotions\nwithin [`docker-protoc`] Semaphore project:\n- parametrized promotion\n- legacy promotion\n\nResulting Docker images are tagged (as described below) and pushed to Dockerhub repository ([`renderedtext/protoc`]).\n\n### Parametrized promotion\n\nAvailable parameters:\n\n- Elixir version (required, default `v1.11.4`)\n- `protoc` version (required, default `3.17.3`) latest version can be found here: https://github.com/protocolbuffers/protobuf/tags\n- Protobuf version (optional)\n\nThis promotion constructs a tag in the following form:\n\n`\u003celixir_version\u003e-\u003cprotoc_version\u003e-\u003cprotobuf_version\u003e`\n\n### Legacy promotion\n\nThis promotion relies on `make build` and `make push` target sequences.\nProduced image is pushed to repository with `latest` and `git commit sha` tags.\nIt is based on `Elixir v1.8.2`, `Protobuf v0.5.4` and `protoc v3.3.0`.\nThis image is used by some of projects in the production (eg. UI project [`front`]).\n\n[`docker-protoc`]: https://semaphore.semaphoreci.com/projects/docker-protoc\n[`renderedtext/protoc`]: https://hub.docker.com/repository/docker/renderedtext/protoc\n[`front`]: https://semaphore.semaphoreci.com/projects/front\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenderedtext%2Fdocker-protoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frenderedtext%2Fdocker-protoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frenderedtext%2Fdocker-protoc/lists"}