Hi,
Please help me to understand a fundamental concept here.
The location of the S2I scripts inside its builder image is:
image:///usr/libexec/s2i
In my custom S2I assemble script, I'm giving the same location to call the standard S2I assemble script from the builder image. I'm following this solution but not understanding why am I doing so. Why does my assemble script need to match with the s2i script location from the builder image.
Does the builder image read my assemble script or it's opposite?
Thanks.
The idea here is that you script does something else that the standard script do not, but you still need to run the standard script. It is about exntending the behavior, adding functionality.
If you wanna completely replace any of the s2i scripts from a builder image, you would have to be sure your script performs all tasks requires by s2i. It is easier to code a script that does something after or before calling standard script.
The idea here is that you script does something else that the standard script do not, but you still need to run the standard script. It is about exntending the behavior, adding functionality.
If you wanna completely replace any of the s2i scripts from a builder image, you would have to be sure your script performs all tasks requires by s2i. It is easier to code a script that does something after or before calling standard script.
Thanks for explaining.
Regards
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.