-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add rules_oci #7568
Add rules_oci #7568
Conversation
5ec358c
to
4cdaeab
Compare
e27a7cc
to
e2be71b
Compare
ae1c79d
to
eb69d65
Compare
eb69d65
to
27ca19a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me (and pretty clean)!
@@ -130,3 +132,27 @@ container_image( | |||
tags = ["manual"], | |||
visibility = ["//visibility:public"], | |||
) | |||
|
|||
# TODO(sluongng): Verify the layering of the image. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worth noting: I am aware that the current pkg_tar setup is wrong.
- It does not pull in the much-needed runfiles of the go binaries
- There are also some layout changes on the final oci image vs the old image that we should address.
Since this PR is already fairly sized and does not break anything, I will be merging this as-is. A subsequent PR will be sent to correct the rules_pkg usage and oci image layout.
This reverts commit 5430f7a. Break current release flow.
Add rules_oci and build an example image with it to test it's compatibility with our current rules_docker usage.