How to Determine Bazel 8.2.1 Base Modules

40 views
Skip to first unread message

Eric Stoces

unread,
Jun 5, 2025, 4:08:37 AMJun 5
to bazel-discuss
I'm trying to upgrade to Bazel 8.2.1 in an air gapped environment.  I host the BCR and need the base set of modules necessary to run Bazel so I can add them to my environment. Running Bazel, getting an error, adding the missing module, repeat is not a good process...

Thanks

Xudong Yang

unread,
Jun 5, 2025, 10:48:30 AMJun 5
to Eric Stoces, bazel-discuss
You can run an un-airgapped build and then look at the URLs in the MODULE.bazel.lock file.

"  YÁNG Xùdōng (杨旭东)
#  SURNAME Givenname
=  Software Engineer
@  Google New York


On Thu, Jun 5, 2025 at 4:08 AM Eric Stoces <ewst...@gmail.com> wrote:
I'm trying to upgrade to Bazel 8.2.1 in an air gapped environment.  I host the BCR and need the base set of modules necessary to run Bazel so I can add them to my environment. Running Bazel, getting an error, adding the missing module, repeat is not a good process...

Thanks

--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bazel-discuss/4969682c-1ddd-4527-9bd6-df02f0daccban%40googlegroups.com.

Yun Peng

unread,
Jun 5, 2025, 2:11:18 PMJun 5
to Xudong Yang, Eric Stoces, bazel-discuss
Or you can just use `bazel vendor <targets>`, which basically generates a local registry with all necessary modules for you besides all vendored repos.


Reply all
Reply to author
Forward
0 new messages