{"id":18431795,"url":"https://github.com/devcontainers-community/features-bazel","last_synced_at":"2026-05-04T07:36:04.845Z","repository":{"id":189000638,"uuid":"679850906","full_name":"devcontainers-community/features-bazel","owner":"devcontainers-community","description":"💚 Installs Bazelisk and Buildifier","archived":false,"fork":false,"pushed_at":"2024-08-27T18:33:04.000Z","size":27,"stargazers_count":2,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T03:15:59.402Z","etag":null,"topics":["bazel","bazelisk","build-tool","buildifier","devcontainer-feature","devcontainers"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/devcontainers-community.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":"2023-08-17T19:00:34.000Z","updated_at":"2025-03-05T03:57:49.000Z","dependencies_parsed_at":"2024-08-27T19:44:30.743Z","dependency_job_id":null,"html_url":"https://github.com/devcontainers-community/features-bazel","commit_stats":null,"previous_names":["devcontainers-community/features-bazel"],"tags_count":5,"template":false,"template_full_name":"devcontainers-community/feature-starter","purl":"pkg:github/devcontainers-community/features-bazel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devcontainers-community%2Ffeatures-bazel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devcontainers-community%2Ffeatures-bazel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devcontainers-community%2Ffeatures-bazel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devcontainers-community%2Ffeatures-bazel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devcontainers-community","download_url":"https://codeload.github.com/devcontainers-community/features-bazel/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devcontainers-community%2Ffeatures-bazel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32599318,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"online","status_checked_at":"2026-05-04T02:00:06.625Z","response_time":58,"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":["bazel","bazelisk","build-tool","buildifier","devcontainer-feature","devcontainers"],"created_at":"2024-11-06T05:26:19.550Z","updated_at":"2026-05-04T07:36:04.803Z","avatar_url":"https://github.com/devcontainers-community.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bazel Dev Container Feature\n\n💚 Installs Bazel tooling\n\n\u003cp align=center\u003e\n  \u003cimg width=400 src=\"https://github.com/devcontainers-community/features-bazel/assets/61068799/48f7037a-f389-463c-b9b5-954f169f8aaf\"\u003e\n\u003c/p\u003e\n\n\u003e _{Fast, Correct} - Choose two_\n\u003e\n\u003e Build and test software of any size, quickly and reliably.\n\u003e\n\u003e - **Speed up your builds and tests**: Bazel rebuilds only what is necessary.\n\u003e   With advanced local and distributed caching, optimized dependency analysis\n\u003e   and parallel execution, you get fast and incremental builds.\n\u003e - **One tool, multiple languages**: Build and test Java, C++, Android, iOS,\n\u003e   Go, and a wide variety of other language platforms. Bazel runs on Windows,\n\u003e   macOS, and Linux.\n\u003e - **Scalable**: Bazel helps you scale your organization, codebase, and\n\u003e   continuous integration solution. It handles codebases of any size, in\n\u003e   multiple repositories or a huge monorepo.\n\u003e - **Extensible to your needs**: Easily add support for new languages and\n\u003e   platforms with Bazel's familiar extension language. Share and re-use\n\u003e   language rules written by the growing Bazel community.\n\n\u003c!-- prettier-ignore --\u003e\n\u0026mdash; [bazelbuild/bazel: a fast, scalable, multi-language and extensible build system](https://github.com/bazelbuild/bazel)\n\nThis Feature installs Bazel using [Bazelisk]. Then, it symlinks\n`/usr/local/bin/bazel` to the Bazelisk installation so that you can use `bazel`\nas normal through `bazelisk`. The main feature of Bazelisk is that it\nautomatically uses the correct Bazel version based on things like\n`$USE_BAZEL_VERSION`, `.bazeliskrc`, `.bazelversion`, and more. This feature\nalso installs the [Bazel VS Code extension]. Oh, and it also installs\n[Buildifier] for your convenience. 😉\n\n## Usage\n\n![Codespaces](https://img.shields.io/static/v1?style=for-the-badge\u0026message=Codespaces\u0026color=181717\u0026logo=GitHub\u0026logoColor=FFFFFF\u0026label=)\n![Devcontainers](https://img.shields.io/static/v1?style=for-the-badge\u0026message=Devcontainers\u0026color=2496ED\u0026logo=Docker\u0026logoColor=FFFFFF\u0026label=)\n\n```jsonc\n// devcontainer.json\n\"features\": {\n  \"ghcr.io/devcontainers-community/features/bazel:1\": {}\n}\n```\n\n❓ Don't know what this ☝ means? Check out [this VS Code blog post].\n\n### Options\n\nYou can specify a `bazelisk_version` and a `buildifier_version` to pin each of\nthe tools like this:\n\n```jsonc\n// devcontainer.json\n\"features\": {\n  \"ghcr.io/devcontainers-community/features/bazel:1\": {\n    \"bazelisk_version\": \"v1.17.0\",\n    \"buildifier_version\": \"v6.1.2\"\n  }\n}\n```\n\n\u003c!-- prettier-ignore-start --\u003e\n[this vs code blog post]: https://code.visualstudio.com/blogs/2022/09/15/dev-container-features\n[bazelisk]: https://github.com/bazelbuild/bazelisk#readme\n[buildifier]: https://github.com/bazelbuild/buildtools/tree/master/buildifier#readme\n[bazel vs code extension]: https://marketplace.visualstudio.com/items?itemName=BazelBuild.vscode-bazel\n\u003c!-- prettier-ignore-end --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevcontainers-community%2Ffeatures-bazel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevcontainers-community%2Ffeatures-bazel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevcontainers-community%2Ffeatures-bazel/lists"}