Skip to content

Commit

Permalink
Merge pull request #1670 from GoogleContainerTools/ignore_root
Browse files Browse the repository at this point in the history
fix: register a default toolchain with root ignored
  • Loading branch information
loosebazooka authored Sep 18, 2024
2 parents 27a3ae1 + 6400265 commit 36d7571
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ bazel_dep(name = "rules_rust", version = "0.49.1")
bazel_dep(name = "container_structure_test", version = "1.16.0")
bazel_dep(name = "rules_oci", version = "1.7.5")
bazel_dep(name = "rules_distroless", version = "0.3.7")
bazel_dep(name = "rules_python", version = "0.35.0")

### PYTHON ###
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(
ignore_root_user_error = True,
python_version = "3.11",
)

### GO ####
go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
Expand Down

0 comments on commit 36d7571

Please sign in to comment.