Add a mechanism to share binaries between containers of the same pod.
Opened this issue · 2 comments
In some cases we may need to add something extra to a container, without having to recreate an image for it. Since the pod templates are already leveraging multiple container it would be nice to have a tool, that would allow us to ask a container to share something found in its path, by moving it inside the worksapce. This would allow other containers to use that if needed.
Interesting idea - not sure if it might end up causing problems but it should be fun to find out :)
So, here's some background and experiences:
I was hitting: openshift/origin#13197, which forced me to use oc new-app
for applying the templates. So my arquillian tests needed to use the oc binary, which is not present in the maven container. So I just added an openshift
container into the pod, copied oc from the openshift
container to maven
using a simple function and my issue was solved.