bazel-contrib/rules_oci

Document how to migrate from rules_docker language-specific rules

alexeagle opened this issue · 3 comments

We don't want to write our own rules/macros for these in our public API, but we do need to show users what to do.
Answer might be:

  • "statically compiled single file didn't need a language rule to begin with" - e.g. go_binary
  • "paste this small macro into your repo"
  • "a rule/macro is available in rules_X" (we'd do this for rules_js for example, maybe rules_python)
  • "we don't support this language" (e.g. d_image, rules_d seems like it should archive)

Here is the list from https://github.com/bazelbuild/rules_docker#language-rules

For the 1.0 milestone I'm just going to create markdown placeholders for these and ask community contributors to help fill it in. We can try giving some hints for the ones we're familiar with.

Note, I'm thinking of dropping D from this list because it seems dead - @dcarp do you have any opinion? (I see you're the only committer recently on https://github.com/bazelbuild/rules_d/commits/master )

While looking for instructions on building the Python3 image layer, I stumbled here. Something like js_image_layer for Python3 would be awesome.