Replies: 1 comment 1 reply
-
|
Since we already support pointing Adding oci container pull + auth code into Bazel would make it overly complex and defeat the goal of simplifying the core of Bazel and making it more customizable. Perhaps a future feature to add to Bazel would be to call out to a custom helper executable to handle the registry downloads. That would let people craft their own storage and auth mechanism and improve the customization of Bazel. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Setting up a central registry for open access project dependencies is nice and easy, "just another web service". However, Bazel is a sort of heavy lifting tool and as such mostly suits large scale corporate stuff - most projects won't even think of looking for a dedicated build tool before reaching certain substantial scale.
However, once we are in the corporate land, maintaining any sort of IP repository becomes a difficult task:
To solve the above, rather difficult, problem companies rely on third party products, of which one of the most prominent is JFrog Artifactory (dedicated package management and distribution) as well as "registry" addons for enterprise GitHub, GitLab and such.
Neither of these support bzlmods and it will take a great deal of time for them to support Bazel, if ever.
However, all of these (and many other) solutions support docker image hosting. In fact, docker images are so ubiquitous these days, that storing and controlling access to them is considered a basic feature of any IP storage product, either cloud based or self hosted.
Which makes me think:
Beta Was this translation helpful? Give feedback.
All reactions