-
Notifications
You must be signed in to change notification settings - Fork 1
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 support for RUN layer? #159
Comments
Reading some previous notes i seem to understand why we couldn't have RUN, probably due to potential side effects? still cruious about your thoughts |
Sorry for the length of this, its a good question and maybe should just be a FAQ in the readme. But there's a few parts to this: This stuff really produces OCI Layers, not something 'docker'. Doing it? Probably not, which is a consequence of the above:
Even if you break the sandboxing to run it, the tooling not being hermetic, and not installed/available everywhere means most folks then have to aggressively control how many docker images are used (they are pretty darn slow, and don't use bazels remote cache), and build/do them only in certain deploy environments where they can access that docker socket. I'm not sure what you want to do, but there are maybe 2 alternatives worth looking at:
|
If you can come up with a some pattern that would work for you and not be trying to drag docker in then i'm down to look at/help you explore it. Otherwise, i think for the reasons above its not a good idea to do it per say. But if your team/folks are happy with the limitations/impact above you could make a new small rule set hooked into |
Looking at the current set of tools in containre_config, there isn't a way to add RUN layer. I skimmed through the code and figured it won't be too difficult to add one (?) but wonder what's your thought on this? Maybe you have considered in the past?
cc: @ianoc
The text was updated successfully, but these errors were encountered: