Skip to content

is it possible to use hooks to modify content on container disk before the build steps are executed? #5144

Answered by giuseppe
AnthonyPoschen asked this question in Q&A
Discussion options

You must be logged in to vote

when we use buildah inside a container, we are likely using the "chroot" execution model that doesn't honor hooks. You should use "oci" that uses a real OCI runtime to run the command, but you might need to relax the security constraints for your environment

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@rhatdan
Comment options

@rhatdan
Comment options

@giuseppe
Comment options

Answer selected by AnthonyPoschen
@AnthonyPoschen
Comment options

@AnthonyPoschen
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants